apihubpb

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiHub_CreateApi_FullMethodName          = "/google.cloud.apihub.v1.ApiHub/CreateApi"
	ApiHub_GetApi_FullMethodName             = "/google.cloud.apihub.v1.ApiHub/GetApi"
	ApiHub_ListApis_FullMethodName           = "/google.cloud.apihub.v1.ApiHub/ListApis"
	ApiHub_UpdateApi_FullMethodName          = "/google.cloud.apihub.v1.ApiHub/UpdateApi"
	ApiHub_DeleteApi_FullMethodName          = "/google.cloud.apihub.v1.ApiHub/DeleteApi"
	ApiHub_CreateVersion_FullMethodName      = "/google.cloud.apihub.v1.ApiHub/CreateVersion"
	ApiHub_GetVersion_FullMethodName         = "/google.cloud.apihub.v1.ApiHub/GetVersion"
	ApiHub_ListVersions_FullMethodName       = "/google.cloud.apihub.v1.ApiHub/ListVersions"
	ApiHub_UpdateVersion_FullMethodName      = "/google.cloud.apihub.v1.ApiHub/UpdateVersion"
	ApiHub_DeleteVersion_FullMethodName      = "/google.cloud.apihub.v1.ApiHub/DeleteVersion"
	ApiHub_CreateSpec_FullMethodName         = "/google.cloud.apihub.v1.ApiHub/CreateSpec"
	ApiHub_GetSpec_FullMethodName            = "/google.cloud.apihub.v1.ApiHub/GetSpec"
	ApiHub_GetSpecContents_FullMethodName    = "/google.cloud.apihub.v1.ApiHub/GetSpecContents"
	ApiHub_ListSpecs_FullMethodName          = "/google.cloud.apihub.v1.ApiHub/ListSpecs"
	ApiHub_UpdateSpec_FullMethodName         = "/google.cloud.apihub.v1.ApiHub/UpdateSpec"
	ApiHub_DeleteSpec_FullMethodName         = "/google.cloud.apihub.v1.ApiHub/DeleteSpec"
	ApiHub_CreateApiOperation_FullMethodName = "/google.cloud.apihub.v1.ApiHub/CreateApiOperation"
	ApiHub_GetApiOperation_FullMethodName    = "/google.cloud.apihub.v1.ApiHub/GetApiOperation"
	ApiHub_ListApiOperations_FullMethodName  = "/google.cloud.apihub.v1.ApiHub/ListApiOperations"
	ApiHub_UpdateApiOperation_FullMethodName = "/google.cloud.apihub.v1.ApiHub/UpdateApiOperation"
	ApiHub_DeleteApiOperation_FullMethodName = "/google.cloud.apihub.v1.ApiHub/DeleteApiOperation"
	ApiHub_GetDefinition_FullMethodName      = "/google.cloud.apihub.v1.ApiHub/GetDefinition"
	ApiHub_CreateDeployment_FullMethodName   = "/google.cloud.apihub.v1.ApiHub/CreateDeployment"
	ApiHub_GetDeployment_FullMethodName      = "/google.cloud.apihub.v1.ApiHub/GetDeployment"
	ApiHub_ListDeployments_FullMethodName    = "/google.cloud.apihub.v1.ApiHub/ListDeployments"
	ApiHub_UpdateDeployment_FullMethodName   = "/google.cloud.apihub.v1.ApiHub/UpdateDeployment"
	ApiHub_DeleteDeployment_FullMethodName   = "/google.cloud.apihub.v1.ApiHub/DeleteDeployment"
	ApiHub_CreateAttribute_FullMethodName    = "/google.cloud.apihub.v1.ApiHub/CreateAttribute"
	ApiHub_GetAttribute_FullMethodName       = "/google.cloud.apihub.v1.ApiHub/GetAttribute"
	ApiHub_UpdateAttribute_FullMethodName    = "/google.cloud.apihub.v1.ApiHub/UpdateAttribute"
	ApiHub_DeleteAttribute_FullMethodName    = "/google.cloud.apihub.v1.ApiHub/DeleteAttribute"
	ApiHub_ListAttributes_FullMethodName     = "/google.cloud.apihub.v1.ApiHub/ListAttributes"
	ApiHub_SearchResources_FullMethodName    = "/google.cloud.apihub.v1.ApiHub/SearchResources"
	ApiHub_CreateExternalApi_FullMethodName  = "/google.cloud.apihub.v1.ApiHub/CreateExternalApi"
	ApiHub_GetExternalApi_FullMethodName     = "/google.cloud.apihub.v1.ApiHub/GetExternalApi"
	ApiHub_UpdateExternalApi_FullMethodName  = "/google.cloud.apihub.v1.ApiHub/UpdateExternalApi"
	ApiHub_DeleteExternalApi_FullMethodName  = "/google.cloud.apihub.v1.ApiHub/DeleteExternalApi"
	ApiHub_ListExternalApis_FullMethodName   = "/google.cloud.apihub.v1.ApiHub/ListExternalApis"
)
View Source
const (
	ApiHubDependencies_CreateDependency_FullMethodName = "/google.cloud.apihub.v1.ApiHubDependencies/CreateDependency"
	ApiHubDependencies_GetDependency_FullMethodName    = "/google.cloud.apihub.v1.ApiHubDependencies/GetDependency"
	ApiHubDependencies_UpdateDependency_FullMethodName = "/google.cloud.apihub.v1.ApiHubDependencies/UpdateDependency"
	ApiHubDependencies_DeleteDependency_FullMethodName = "/google.cloud.apihub.v1.ApiHubDependencies/DeleteDependency"
	ApiHubDependencies_ListDependencies_FullMethodName = "/google.cloud.apihub.v1.ApiHubDependencies/ListDependencies"
)
View Source
const (
	ApiHubCurate_CreateCuration_FullMethodName = "/google.cloud.apihub.v1.ApiHubCurate/CreateCuration"
	ApiHubCurate_GetCuration_FullMethodName    = "/google.cloud.apihub.v1.ApiHubCurate/GetCuration"
	ApiHubCurate_ListCurations_FullMethodName  = "/google.cloud.apihub.v1.ApiHubCurate/ListCurations"
	ApiHubCurate_UpdateCuration_FullMethodName = "/google.cloud.apihub.v1.ApiHubCurate/UpdateCuration"
	ApiHubCurate_DeleteCuration_FullMethodName = "/google.cloud.apihub.v1.ApiHubCurate/DeleteCuration"
)
View Source
const (
	ApiHubDiscovery_ListDiscoveredApiObservations_FullMethodName = "/google.cloud.apihub.v1.ApiHubDiscovery/ListDiscoveredApiObservations"
	ApiHubDiscovery_GetDiscoveredApiObservation_FullMethodName   = "/google.cloud.apihub.v1.ApiHubDiscovery/GetDiscoveredApiObservation"
	ApiHubDiscovery_ListDiscoveredApiOperations_FullMethodName   = "/google.cloud.apihub.v1.ApiHubDiscovery/ListDiscoveredApiOperations"
	ApiHubDiscovery_GetDiscoveredApiOperation_FullMethodName     = "/google.cloud.apihub.v1.ApiHubDiscovery/GetDiscoveredApiOperation"
)
View Source
const (
	HostProjectRegistrationService_CreateHostProjectRegistration_FullMethodName = "/google.cloud.apihub.v1.HostProjectRegistrationService/CreateHostProjectRegistration"
	HostProjectRegistrationService_GetHostProjectRegistration_FullMethodName    = "/google.cloud.apihub.v1.HostProjectRegistrationService/GetHostProjectRegistration"
	HostProjectRegistrationService_ListHostProjectRegistrations_FullMethodName  = "/google.cloud.apihub.v1.HostProjectRegistrationService/ListHostProjectRegistrations"
)
View Source
const (
	LintingService_GetStyleGuide_FullMethodName         = "/google.cloud.apihub.v1.LintingService/GetStyleGuide"
	LintingService_UpdateStyleGuide_FullMethodName      = "/google.cloud.apihub.v1.LintingService/UpdateStyleGuide"
	LintingService_GetStyleGuideContents_FullMethodName = "/google.cloud.apihub.v1.LintingService/GetStyleGuideContents"
	LintingService_LintSpec_FullMethodName              = "/google.cloud.apihub.v1.LintingService/LintSpec"
)
View Source
const (
	ApiHubPlugin_GetPlugin_FullMethodName                   = "/google.cloud.apihub.v1.ApiHubPlugin/GetPlugin"
	ApiHubPlugin_EnablePlugin_FullMethodName                = "/google.cloud.apihub.v1.ApiHubPlugin/EnablePlugin"
	ApiHubPlugin_DisablePlugin_FullMethodName               = "/google.cloud.apihub.v1.ApiHubPlugin/DisablePlugin"
	ApiHubPlugin_CreatePlugin_FullMethodName                = "/google.cloud.apihub.v1.ApiHubPlugin/CreatePlugin"
	ApiHubPlugin_ListPlugins_FullMethodName                 = "/google.cloud.apihub.v1.ApiHubPlugin/ListPlugins"
	ApiHubPlugin_DeletePlugin_FullMethodName                = "/google.cloud.apihub.v1.ApiHubPlugin/DeletePlugin"
	ApiHubPlugin_CreatePluginInstance_FullMethodName        = "/google.cloud.apihub.v1.ApiHubPlugin/CreatePluginInstance"
	ApiHubPlugin_ExecutePluginInstanceAction_FullMethodName = "/google.cloud.apihub.v1.ApiHubPlugin/ExecutePluginInstanceAction"
	ApiHubPlugin_GetPluginInstance_FullMethodName           = "/google.cloud.apihub.v1.ApiHubPlugin/GetPluginInstance"
	ApiHubPlugin_ListPluginInstances_FullMethodName         = "/google.cloud.apihub.v1.ApiHubPlugin/ListPluginInstances"
	ApiHubPlugin_EnablePluginInstanceAction_FullMethodName  = "/google.cloud.apihub.v1.ApiHubPlugin/EnablePluginInstanceAction"
	ApiHubPlugin_DisablePluginInstanceAction_FullMethodName = "/google.cloud.apihub.v1.ApiHubPlugin/DisablePluginInstanceAction"
	ApiHubPlugin_UpdatePluginInstance_FullMethodName        = "/google.cloud.apihub.v1.ApiHubPlugin/UpdatePluginInstance"
	ApiHubPlugin_DeletePluginInstance_FullMethodName        = "/google.cloud.apihub.v1.ApiHubPlugin/DeletePluginInstance"
)
View Source
const (
	Provisioning_CreateApiHubInstance_FullMethodName = "/google.cloud.apihub.v1.Provisioning/CreateApiHubInstance"
	Provisioning_DeleteApiHubInstance_FullMethodName = "/google.cloud.apihub.v1.Provisioning/DeleteApiHubInstance"
	Provisioning_GetApiHubInstance_FullMethodName    = "/google.cloud.apihub.v1.Provisioning/GetApiHubInstance"
	Provisioning_LookupApiHubInstance_FullMethodName = "/google.cloud.apihub.v1.Provisioning/LookupApiHubInstance"
)
View Source
const (
	RuntimeProjectAttachmentService_CreateRuntimeProjectAttachment_FullMethodName = "/google.cloud.apihub.v1.RuntimeProjectAttachmentService/CreateRuntimeProjectAttachment"
	RuntimeProjectAttachmentService_GetRuntimeProjectAttachment_FullMethodName    = "/google.cloud.apihub.v1.RuntimeProjectAttachmentService/GetRuntimeProjectAttachment"
	RuntimeProjectAttachmentService_ListRuntimeProjectAttachments_FullMethodName  = "/google.cloud.apihub.v1.RuntimeProjectAttachmentService/ListRuntimeProjectAttachments"
	RuntimeProjectAttachmentService_DeleteRuntimeProjectAttachment_FullMethodName = "/google.cloud.apihub.v1.RuntimeProjectAttachmentService/DeleteRuntimeProjectAttachment"
	RuntimeProjectAttachmentService_LookupRuntimeProjectAttachment_FullMethodName = "/google.cloud.apihub.v1.RuntimeProjectAttachmentService/LookupRuntimeProjectAttachment"
)
View Source
const (
	ApiHubCollect_CollectApiData_FullMethodName = "/google.cloud.apihub.v1.ApiHubCollect/CollectApiData"
)

Variables

View Source
var (
	CollectionType_name = map[int32]string{
		0: "COLLECTION_TYPE_UNSPECIFIED",
		1: "COLLECTION_TYPE_UPSERT",
		2: "COLLECTION_TYPE_DELETE",
	}
	CollectionType_value = map[string]int32{
		"COLLECTION_TYPE_UNSPECIFIED": 0,
		"COLLECTION_TYPE_UPSERT":      1,
		"COLLECTION_TYPE_DELETE":      2,
	}
)

Enum value maps for CollectionType.

View Source
var (
	LintState_name = map[int32]string{
		0: "LINT_STATE_UNSPECIFIED",
		1: "LINT_STATE_SUCCESS",
		2: "LINT_STATE_ERROR",
	}
	LintState_value = map[string]int32{
		"LINT_STATE_UNSPECIFIED": 0,
		"LINT_STATE_SUCCESS":     1,
		"LINT_STATE_ERROR":       2,
	}
)

Enum value maps for LintState.

View Source
var (
	Linter_name = map[int32]string{
		0: "LINTER_UNSPECIFIED",
		1: "SPECTRAL",
		2: "OTHER",
	}
	Linter_value = map[string]int32{
		"LINTER_UNSPECIFIED": 0,
		"SPECTRAL":           1,
		"OTHER":              2,
	}
)

Enum value maps for Linter.

View Source
var (
	Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "SEVERITY_ERROR",
		2: "SEVERITY_WARNING",
		3: "SEVERITY_INFO",
		4: "SEVERITY_HINT",
	}
	Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"SEVERITY_ERROR":       1,
		"SEVERITY_WARNING":     2,
		"SEVERITY_INFO":        3,
		"SEVERITY_HINT":        4,
	}
)

Enum value maps for Severity.

View Source
var (
	AuthType_name = map[int32]string{
		0: "AUTH_TYPE_UNSPECIFIED",
		1: "NO_AUTH",
		2: "GOOGLE_SERVICE_ACCOUNT",
		3: "USER_PASSWORD",
		4: "API_KEY",
		5: "OAUTH2_CLIENT_CREDENTIALS",
	}
	AuthType_value = map[string]int32{
		"AUTH_TYPE_UNSPECIFIED":     0,
		"NO_AUTH":                   1,
		"GOOGLE_SERVICE_ACCOUNT":    2,
		"USER_PASSWORD":             3,
		"API_KEY":                   4,
		"OAUTH2_CLIENT_CREDENTIALS": 5,
	}
)

Enum value maps for AuthType.

View Source
var (
	PluginCategory_name = map[int32]string{
		0: "PLUGIN_CATEGORY_UNSPECIFIED",
		1: "API_GATEWAY",
		2: "API_PRODUCER",
	}
	PluginCategory_value = map[string]int32{
		"PLUGIN_CATEGORY_UNSPECIFIED": 0,
		"API_GATEWAY":                 1,
		"API_PRODUCER":                2,
	}
)

Enum value maps for PluginCategory.

View Source
var (
	Spec_ParsingMode_name = map[int32]string{
		0: "PARSING_MODE_UNSPECIFIED",
		1: "RELAXED",
		2: "STRICT",
	}
	Spec_ParsingMode_value = map[string]int32{
		"PARSING_MODE_UNSPECIFIED": 0,
		"RELAXED":                  1,
		"STRICT":                   2,
	}
)

Enum value maps for Spec_ParsingMode.

View Source
var (
	Definition_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "SCHEMA",
	}
	Definition_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"SCHEMA":           1,
	}
)

Enum value maps for Definition_Type.

View Source
var (
	Attribute_DefinitionType_name = map[int32]string{
		0: "DEFINITION_TYPE_UNSPECIFIED",
		1: "SYSTEM_DEFINED",
		2: "USER_DEFINED",
	}
	Attribute_DefinitionType_value = map[string]int32{
		"DEFINITION_TYPE_UNSPECIFIED": 0,
		"SYSTEM_DEFINED":              1,
		"USER_DEFINED":                2,
	}
)

Enum value maps for Attribute_DefinitionType.

View Source
var (
	Attribute_Scope_name = map[int32]string{
		0: "SCOPE_UNSPECIFIED",
		1: "API",
		2: "VERSION",
		3: "SPEC",
		4: "API_OPERATION",
		5: "DEPLOYMENT",
		6: "DEPENDENCY",
		7: "DEFINITION",
		8: "EXTERNAL_API",
		9: "PLUGIN",
	}
	Attribute_Scope_value = map[string]int32{
		"SCOPE_UNSPECIFIED": 0,
		"API":               1,
		"VERSION":           2,
		"SPEC":              3,
		"API_OPERATION":     4,
		"DEPLOYMENT":        5,
		"DEPENDENCY":        6,
		"DEFINITION":        7,
		"EXTERNAL_API":      8,
		"PLUGIN":            9,
	}
)

Enum value maps for Attribute_Scope.

View Source
var (
	Attribute_DataType_name = map[int32]string{
		0: "DATA_TYPE_UNSPECIFIED",
		1: "ENUM",
		2: "JSON",
		3: "STRING",
		4: "URI",
	}
	Attribute_DataType_value = map[string]int32{
		"DATA_TYPE_UNSPECIFIED": 0,
		"ENUM":                  1,
		"JSON":                  2,
		"STRING":                3,
		"URI":                   4,
	}
)

Enum value maps for Attribute_DataType.

View Source
var (
	OpenApiSpecDetails_Format_name = map[int32]string{
		0: "FORMAT_UNSPECIFIED",
		1: "OPEN_API_SPEC_2_0",
		2: "OPEN_API_SPEC_3_0",
		3: "OPEN_API_SPEC_3_1",
	}
	OpenApiSpecDetails_Format_value = map[string]int32{
		"FORMAT_UNSPECIFIED": 0,
		"OPEN_API_SPEC_2_0":  1,
		"OPEN_API_SPEC_3_0":  2,
		"OPEN_API_SPEC_3_1":  3,
	}
)

Enum value maps for OpenApiSpecDetails_Format.

View Source
var (
	HttpOperation_Method_name = map[int32]string{
		0: "METHOD_UNSPECIFIED",
		1: "GET",
		2: "PUT",
		3: "POST",
		4: "DELETE",
		5: "OPTIONS",
		6: "HEAD",
		7: "PATCH",
		8: "TRACE",
	}
	HttpOperation_Method_value = map[string]int32{
		"METHOD_UNSPECIFIED": 0,
		"GET":                1,
		"PUT":                2,
		"POST":               3,
		"DELETE":             4,
		"OPTIONS":            5,
		"HEAD":               6,
		"PATCH":              7,
		"TRACE":              8,
	}
)

Enum value maps for HttpOperation_Method.

View Source
var (
	Dependency_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROPOSED",
		2: "VALIDATED",
	}
	Dependency_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROPOSED":          1,
		"VALIDATED":         2,
	}
)

Enum value maps for Dependency_State.

View Source
var (
	Dependency_DiscoveryMode_name = map[int32]string{
		0: "DISCOVERY_MODE_UNSPECIFIED",
		1: "MANUAL",
	}
	Dependency_DiscoveryMode_value = map[string]int32{
		"DISCOVERY_MODE_UNSPECIFIED": 0,
		"MANUAL":                     1,
	}
)

Enum value maps for Dependency_DiscoveryMode.

View Source
var (
	DependencyErrorDetail_Error_name = map[int32]string{
		0: "ERROR_UNSPECIFIED",
		1: "SUPPLIER_NOT_FOUND",
		2: "SUPPLIER_RECREATED",
	}
	DependencyErrorDetail_Error_value = map[string]int32{
		"ERROR_UNSPECIFIED":  0,
		"SUPPLIER_NOT_FOUND": 1,
		"SUPPLIER_RECREATED": 2,
	}
)

Enum value maps for DependencyErrorDetail_Error.

View Source
var (
	ApiHubInstance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "INACTIVE",
		2: "CREATING",
		3: "ACTIVE",
		4: "UPDATING",
		5: "DELETING",
		6: "FAILED",
	}
	ApiHubInstance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"INACTIVE":          1,
		"CREATING":          2,
		"ACTIVE":            3,
		"UPDATING":          4,
		"DELETING":          5,
		"FAILED":            6,
	}
)

Enum value maps for ApiHubInstance_State.

View Source
var (
	ApiHubInstance_Config_EncryptionType_name = map[int32]string{
		0: "ENCRYPTION_TYPE_UNSPECIFIED",
		1: "GMEK",
		2: "CMEK",
	}
	ApiHubInstance_Config_EncryptionType_value = map[string]int32{
		"ENCRYPTION_TYPE_UNSPECIFIED": 0,
		"GMEK":                        1,
		"CMEK":                        2,
	}
)

Enum value maps for ApiHubInstance_Config_EncryptionType.

View Source
var (
	ConfigVariableTemplate_ValueType_name = map[int32]string{
		0: "VALUE_TYPE_UNSPECIFIED",
		1: "STRING",
		2: "INT",
		3: "BOOL",
		4: "SECRET",
		5: "ENUM",
		6: "MULTI_SELECT",
		7: "MULTI_STRING",
		8: "MULTI_INT",
	}
	ConfigVariableTemplate_ValueType_value = map[string]int32{
		"VALUE_TYPE_UNSPECIFIED": 0,
		"STRING":                 1,
		"INT":                    2,
		"BOOL":                   3,
		"SECRET":                 4,
		"ENUM":                   5,
		"MULTI_SELECT":           6,
		"MULTI_STRING":           7,
		"MULTI_INT":              8,
	}
)

Enum value maps for ConfigVariableTemplate_ValueType.

View Source
var (
	AuthConfig_ApiKeyConfig_HttpElementLocation_name = map[int32]string{
		0: "HTTP_ELEMENT_LOCATION_UNSPECIFIED",
		1: "QUERY",
		2: "HEADER",
		3: "PATH",
		4: "BODY",
		5: "COOKIE",
	}
	AuthConfig_ApiKeyConfig_HttpElementLocation_value = map[string]int32{
		"HTTP_ELEMENT_LOCATION_UNSPECIFIED": 0,
		"QUERY":                             1,
		"HEADER":                            2,
		"PATH":                              3,
		"BODY":                              4,
		"COOKIE":                            5,
	}
)

Enum value maps for AuthConfig_ApiKeyConfig_HttpElementLocation.

View Source
var (
	SourceMetadata_SourceType_name = map[int32]string{
		0: "SOURCE_TYPE_UNSPECIFIED",
		1: "PLUGIN",
	}
	SourceMetadata_SourceType_value = map[string]int32{
		"SOURCE_TYPE_UNSPECIFIED": 0,
		"PLUGIN":                  1,
	}
)

Enum value maps for SourceMetadata_SourceType.

View Source
var (
	DiscoveredApiObservation_Style_name = map[int32]string{
		0: "STYLE_UNSPECIFIED",
		1: "REST",
		2: "GRPC",
		3: "GRAPHQL",
	}
	DiscoveredApiObservation_Style_value = map[string]int32{
		"STYLE_UNSPECIFIED": 0,
		"REST":              1,
		"GRPC":              2,
		"GRAPHQL":           3,
	}
)

Enum value maps for DiscoveredApiObservation_Style.

View Source
var (
	DiscoveredApiObservation_SourceType_name = map[int32]string{
		0: "SOURCE_TYPE_UNSPECIFIED",
		1: "GCP_XLB",
		2: "GCP_ILB",
	}
	DiscoveredApiObservation_SourceType_value = map[string]int32{
		"SOURCE_TYPE_UNSPECIFIED": 0,
		"GCP_XLB":                 1,
		"GCP_ILB":                 2,
	}
)

Enum value maps for DiscoveredApiObservation_SourceType.

View Source
var (
	DiscoveredApiOperation_Classification_name = map[int32]string{
		0: "CLASSIFICATION_UNSPECIFIED",
		1: "KNOWN",
		2: "UNKNOWN",
	}
	DiscoveredApiOperation_Classification_value = map[string]int32{
		"CLASSIFICATION_UNSPECIFIED": 0,
		"KNOWN":                      1,
		"UNKNOWN":                    2,
	}
)

Enum value maps for DiscoveredApiOperation_Classification.

View Source
var (
	HttpOperationDetails_DataType_name = map[int32]string{
		0: "DATA_TYPE_UNSPECIFIED",
		1: "BOOL",
		2: "INTEGER",
		3: "FLOAT",
		4: "STRING",
		5: "UUID",
	}
	HttpOperationDetails_DataType_value = map[string]int32{
		"DATA_TYPE_UNSPECIFIED": 0,
		"BOOL":                  1,
		"INTEGER":               2,
		"FLOAT":                 3,
		"STRING":                4,
		"UUID":                  5,
	}
)

Enum value maps for HttpOperationDetails_DataType.

View Source
var (
	Curation_LastExecutionState_name = map[int32]string{
		0: "LAST_EXECUTION_STATE_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "FAILED",
	}
	Curation_LastExecutionState_value = map[string]int32{
		"LAST_EXECUTION_STATE_UNSPECIFIED": 0,
		"SUCCEEDED":                        1,
		"FAILED":                           2,
	}
)

Enum value maps for Curation_LastExecutionState.

View Source
var (
	Curation_ErrorCode_name = map[int32]string{
		0: "ERROR_CODE_UNSPECIFIED",
		1: "INTERNAL_ERROR",
		2: "UNAUTHORIZED",
	}
	Curation_ErrorCode_value = map[string]int32{
		"ERROR_CODE_UNSPECIFIED": 0,
		"INTERNAL_ERROR":         1,
		"UNAUTHORIZED":           2,
	}
)

Enum value maps for Curation_ErrorCode.

View Source
var (
	ActionType_name = map[int32]string{
		0: "ACTION_TYPE_UNSPECIFIED",
		1: "SYNC_METADATA",
		2: "SYNC_RUNTIME_DATA",
	}
	ActionType_value = map[string]int32{
		"ACTION_TYPE_UNSPECIFIED": 0,
		"SYNC_METADATA":           1,
		"SYNC_RUNTIME_DATA":       2,
	}
)

Enum value maps for ActionType.

View Source
var (
	GatewayType_name = map[int32]string{
		0: "GATEWAY_TYPE_UNSPECIFIED",
		1: "APIGEE_X_AND_HYBRID",
		2: "APIGEE_EDGE_PUBLIC_CLOUD",
		3: "APIGEE_EDGE_PRIVATE_CLOUD",
		4: "CLOUD_API_GATEWAY",
		5: "CLOUD_ENDPOINTS",
		6: "API_DISCOVERY",
		7: "OTHERS",
	}
	GatewayType_value = map[string]int32{
		"GATEWAY_TYPE_UNSPECIFIED":  0,
		"APIGEE_X_AND_HYBRID":       1,
		"APIGEE_EDGE_PUBLIC_CLOUD":  2,
		"APIGEE_EDGE_PRIVATE_CLOUD": 3,
		"CLOUD_API_GATEWAY":         4,
		"CLOUD_ENDPOINTS":           5,
		"API_DISCOVERY":             6,
		"OTHERS":                    7,
	}
)

Enum value maps for GatewayType.

View Source
var (
	CurationType_name = map[int32]string{
		0: "CURATION_TYPE_UNSPECIFIED",
		1: "DEFAULT_CURATION_FOR_API_METADATA",
		2: "CUSTOM_CURATION_FOR_API_METADATA",
	}
	CurationType_value = map[string]int32{
		"CURATION_TYPE_UNSPECIFIED":         0,
		"DEFAULT_CURATION_FOR_API_METADATA": 1,
		"CUSTOM_CURATION_FOR_API_METADATA":  2,
	}
)

Enum value maps for CurationType.

View Source
var (
	Plugin_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ENABLED",
		2: "DISABLED",
	}
	Plugin_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ENABLED":           1,
		"DISABLED":          2,
	}
)

Enum value maps for Plugin_State.

View Source
var (
	Plugin_OwnershipType_name = map[int32]string{
		0: "OWNERSHIP_TYPE_UNSPECIFIED",
		1: "SYSTEM_OWNED",
		2: "USER_OWNED",
	}
	Plugin_OwnershipType_value = map[string]int32{
		"OWNERSHIP_TYPE_UNSPECIFIED": 0,
		"SYSTEM_OWNED":               1,
		"USER_OWNED":                 2,
	}
)

Enum value maps for Plugin_OwnershipType.

View Source
var (
	PluginActionConfig_TriggerMode_name = map[int32]string{
		0: "TRIGGER_MODE_UNSPECIFIED",
		1: "API_HUB_ON_DEMAND_TRIGGER",
		2: "API_HUB_SCHEDULE_TRIGGER",
		3: "NON_API_HUB_MANAGED",
	}
	PluginActionConfig_TriggerMode_value = map[string]int32{
		"TRIGGER_MODE_UNSPECIFIED":  0,
		"API_HUB_ON_DEMAND_TRIGGER": 1,
		"API_HUB_SCHEDULE_TRIGGER":  2,
		"NON_API_HUB_MANAGED":       3,
	}
)

Enum value maps for PluginActionConfig_TriggerMode.

View Source
var (
	PluginInstanceAction_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ENABLED",
		2: "DISABLED",
		3: "ENABLING",
		4: "DISABLING",
		5: "ERROR",
	}
	PluginInstanceAction_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ENABLED":           1,
		"DISABLED":          2,
		"ENABLING":          3,
		"DISABLING":         4,
		"ERROR":             5,
	}
)

Enum value maps for PluginInstanceAction_State.

View Source
var (
	PluginInstance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "APPLYING_CONFIG",
		4: "ERROR",
		5: "FAILED",
		6: "DELETING",
	}
	PluginInstance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"APPLYING_CONFIG":   3,
		"ERROR":             4,
		"FAILED":            5,
		"DELETING":          6,
	}
)

Enum value maps for PluginInstance_State.

View Source
var (
	ExecutionStatus_CurrentExecutionState_name = map[int32]string{
		0: "CURRENT_EXECUTION_STATE_UNSPECIFIED",
		1: "RUNNING",
		2: "NOT_RUNNING",
	}
	ExecutionStatus_CurrentExecutionState_value = map[string]int32{
		"CURRENT_EXECUTION_STATE_UNSPECIFIED": 0,
		"RUNNING":                             1,
		"NOT_RUNNING":                         2,
	}
)

Enum value maps for ExecutionStatus_CurrentExecutionState.

View Source
var (
	ExecutionStatus_LastExecution_Result_name = map[int32]string{
		0: "RESULT_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "FAILED",
	}
	ExecutionStatus_LastExecution_Result_value = map[string]int32{
		"RESULT_UNSPECIFIED": 0,
		"SUCCEEDED":          1,
		"FAILED":             2,
	}
)

Enum value maps for ExecutionStatus_LastExecution_Result.

View Source
var ApiHubCollect_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.ApiHubCollect",
	HandlerType: (*ApiHubCollectServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CollectApiData",
			Handler:    _ApiHubCollect_CollectApiData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/collect_service.proto",
}

ApiHubCollect_ServiceDesc is the grpc.ServiceDesc for ApiHubCollect service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ApiHubCurate_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.ApiHubCurate",
	HandlerType: (*ApiHubCurateServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCuration",
			Handler:    _ApiHubCurate_CreateCuration_Handler,
		},
		{
			MethodName: "GetCuration",
			Handler:    _ApiHubCurate_GetCuration_Handler,
		},
		{
			MethodName: "ListCurations",
			Handler:    _ApiHubCurate_ListCurations_Handler,
		},
		{
			MethodName: "UpdateCuration",
			Handler:    _ApiHubCurate_UpdateCuration_Handler,
		},
		{
			MethodName: "DeleteCuration",
			Handler:    _ApiHubCurate_DeleteCuration_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/curate_service.proto",
}

ApiHubCurate_ServiceDesc is the grpc.ServiceDesc for ApiHubCurate service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ApiHubDependencies_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.ApiHubDependencies",
	HandlerType: (*ApiHubDependenciesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDependency",
			Handler:    _ApiHubDependencies_CreateDependency_Handler,
		},
		{
			MethodName: "GetDependency",
			Handler:    _ApiHubDependencies_GetDependency_Handler,
		},
		{
			MethodName: "UpdateDependency",
			Handler:    _ApiHubDependencies_UpdateDependency_Handler,
		},
		{
			MethodName: "DeleteDependency",
			Handler:    _ApiHubDependencies_DeleteDependency_Handler,
		},
		{
			MethodName: "ListDependencies",
			Handler:    _ApiHubDependencies_ListDependencies_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/apihub_service.proto",
}

ApiHubDependencies_ServiceDesc is the grpc.ServiceDesc for ApiHubDependencies service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ApiHubDiscovery_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.ApiHubDiscovery",
	HandlerType: (*ApiHubDiscoveryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDiscoveredApiObservations",
			Handler:    _ApiHubDiscovery_ListDiscoveredApiObservations_Handler,
		},
		{
			MethodName: "GetDiscoveredApiObservation",
			Handler:    _ApiHubDiscovery_GetDiscoveredApiObservation_Handler,
		},
		{
			MethodName: "ListDiscoveredApiOperations",
			Handler:    _ApiHubDiscovery_ListDiscoveredApiOperations_Handler,
		},
		{
			MethodName: "GetDiscoveredApiOperation",
			Handler:    _ApiHubDiscovery_GetDiscoveredApiOperation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/discovery_service.proto",
}

ApiHubDiscovery_ServiceDesc is the grpc.ServiceDesc for ApiHubDiscovery service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ApiHubPlugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.ApiHubPlugin",
	HandlerType: (*ApiHubPluginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPlugin",
			Handler:    _ApiHubPlugin_GetPlugin_Handler,
		},
		{
			MethodName: "EnablePlugin",
			Handler:    _ApiHubPlugin_EnablePlugin_Handler,
		},
		{
			MethodName: "DisablePlugin",
			Handler:    _ApiHubPlugin_DisablePlugin_Handler,
		},
		{
			MethodName: "CreatePlugin",
			Handler:    _ApiHubPlugin_CreatePlugin_Handler,
		},
		{
			MethodName: "ListPlugins",
			Handler:    _ApiHubPlugin_ListPlugins_Handler,
		},
		{
			MethodName: "DeletePlugin",
			Handler:    _ApiHubPlugin_DeletePlugin_Handler,
		},
		{
			MethodName: "CreatePluginInstance",
			Handler:    _ApiHubPlugin_CreatePluginInstance_Handler,
		},
		{
			MethodName: "ExecutePluginInstanceAction",
			Handler:    _ApiHubPlugin_ExecutePluginInstanceAction_Handler,
		},
		{
			MethodName: "GetPluginInstance",
			Handler:    _ApiHubPlugin_GetPluginInstance_Handler,
		},
		{
			MethodName: "ListPluginInstances",
			Handler:    _ApiHubPlugin_ListPluginInstances_Handler,
		},
		{
			MethodName: "EnablePluginInstanceAction",
			Handler:    _ApiHubPlugin_EnablePluginInstanceAction_Handler,
		},
		{
			MethodName: "DisablePluginInstanceAction",
			Handler:    _ApiHubPlugin_DisablePluginInstanceAction_Handler,
		},
		{
			MethodName: "UpdatePluginInstance",
			Handler:    _ApiHubPlugin_UpdatePluginInstance_Handler,
		},
		{
			MethodName: "DeletePluginInstance",
			Handler:    _ApiHubPlugin_DeletePluginInstance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/plugin_service.proto",
}

ApiHubPlugin_ServiceDesc is the grpc.ServiceDesc for ApiHubPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ApiHub_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.ApiHub",
	HandlerType: (*ApiHubServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateApi",
			Handler:    _ApiHub_CreateApi_Handler,
		},
		{
			MethodName: "GetApi",
			Handler:    _ApiHub_GetApi_Handler,
		},
		{
			MethodName: "ListApis",
			Handler:    _ApiHub_ListApis_Handler,
		},
		{
			MethodName: "UpdateApi",
			Handler:    _ApiHub_UpdateApi_Handler,
		},
		{
			MethodName: "DeleteApi",
			Handler:    _ApiHub_DeleteApi_Handler,
		},
		{
			MethodName: "CreateVersion",
			Handler:    _ApiHub_CreateVersion_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _ApiHub_GetVersion_Handler,
		},
		{
			MethodName: "ListVersions",
			Handler:    _ApiHub_ListVersions_Handler,
		},
		{
			MethodName: "UpdateVersion",
			Handler:    _ApiHub_UpdateVersion_Handler,
		},
		{
			MethodName: "DeleteVersion",
			Handler:    _ApiHub_DeleteVersion_Handler,
		},
		{
			MethodName: "CreateSpec",
			Handler:    _ApiHub_CreateSpec_Handler,
		},
		{
			MethodName: "GetSpec",
			Handler:    _ApiHub_GetSpec_Handler,
		},
		{
			MethodName: "GetSpecContents",
			Handler:    _ApiHub_GetSpecContents_Handler,
		},
		{
			MethodName: "ListSpecs",
			Handler:    _ApiHub_ListSpecs_Handler,
		},
		{
			MethodName: "UpdateSpec",
			Handler:    _ApiHub_UpdateSpec_Handler,
		},
		{
			MethodName: "DeleteSpec",
			Handler:    _ApiHub_DeleteSpec_Handler,
		},
		{
			MethodName: "CreateApiOperation",
			Handler:    _ApiHub_CreateApiOperation_Handler,
		},
		{
			MethodName: "GetApiOperation",
			Handler:    _ApiHub_GetApiOperation_Handler,
		},
		{
			MethodName: "ListApiOperations",
			Handler:    _ApiHub_ListApiOperations_Handler,
		},
		{
			MethodName: "UpdateApiOperation",
			Handler:    _ApiHub_UpdateApiOperation_Handler,
		},
		{
			MethodName: "DeleteApiOperation",
			Handler:    _ApiHub_DeleteApiOperation_Handler,
		},
		{
			MethodName: "GetDefinition",
			Handler:    _ApiHub_GetDefinition_Handler,
		},
		{
			MethodName: "CreateDeployment",
			Handler:    _ApiHub_CreateDeployment_Handler,
		},
		{
			MethodName: "GetDeployment",
			Handler:    _ApiHub_GetDeployment_Handler,
		},
		{
			MethodName: "ListDeployments",
			Handler:    _ApiHub_ListDeployments_Handler,
		},
		{
			MethodName: "UpdateDeployment",
			Handler:    _ApiHub_UpdateDeployment_Handler,
		},
		{
			MethodName: "DeleteDeployment",
			Handler:    _ApiHub_DeleteDeployment_Handler,
		},
		{
			MethodName: "CreateAttribute",
			Handler:    _ApiHub_CreateAttribute_Handler,
		},
		{
			MethodName: "GetAttribute",
			Handler:    _ApiHub_GetAttribute_Handler,
		},
		{
			MethodName: "UpdateAttribute",
			Handler:    _ApiHub_UpdateAttribute_Handler,
		},
		{
			MethodName: "DeleteAttribute",
			Handler:    _ApiHub_DeleteAttribute_Handler,
		},
		{
			MethodName: "ListAttributes",
			Handler:    _ApiHub_ListAttributes_Handler,
		},
		{
			MethodName: "SearchResources",
			Handler:    _ApiHub_SearchResources_Handler,
		},
		{
			MethodName: "CreateExternalApi",
			Handler:    _ApiHub_CreateExternalApi_Handler,
		},
		{
			MethodName: "GetExternalApi",
			Handler:    _ApiHub_GetExternalApi_Handler,
		},
		{
			MethodName: "UpdateExternalApi",
			Handler:    _ApiHub_UpdateExternalApi_Handler,
		},
		{
			MethodName: "DeleteExternalApi",
			Handler:    _ApiHub_DeleteExternalApi_Handler,
		},
		{
			MethodName: "ListExternalApis",
			Handler:    _ApiHub_ListExternalApis_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/apihub_service.proto",
}

ApiHub_ServiceDesc is the grpc.ServiceDesc for ApiHub service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_google_cloud_apihub_v1_apihub_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_collect_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_common_fields_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_curate_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_discovery_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_host_project_registration_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_linting_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_plugin_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_provisioning_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_apihub_v1_runtime_project_attachment_service_proto protoreflect.FileDescriptor
View Source
var HostProjectRegistrationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.HostProjectRegistrationService",
	HandlerType: (*HostProjectRegistrationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateHostProjectRegistration",
			Handler:    _HostProjectRegistrationService_CreateHostProjectRegistration_Handler,
		},
		{
			MethodName: "GetHostProjectRegistration",
			Handler:    _HostProjectRegistrationService_GetHostProjectRegistration_Handler,
		},
		{
			MethodName: "ListHostProjectRegistrations",
			Handler:    _HostProjectRegistrationService_ListHostProjectRegistrations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/host_project_registration_service.proto",
}

HostProjectRegistrationService_ServiceDesc is the grpc.ServiceDesc for HostProjectRegistrationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var LintingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.LintingService",
	HandlerType: (*LintingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStyleGuide",
			Handler:    _LintingService_GetStyleGuide_Handler,
		},
		{
			MethodName: "UpdateStyleGuide",
			Handler:    _LintingService_UpdateStyleGuide_Handler,
		},
		{
			MethodName: "GetStyleGuideContents",
			Handler:    _LintingService_GetStyleGuideContents_Handler,
		},
		{
			MethodName: "LintSpec",
			Handler:    _LintingService_LintSpec_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/linting_service.proto",
}

LintingService_ServiceDesc is the grpc.ServiceDesc for LintingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Provisioning_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.Provisioning",
	HandlerType: (*ProvisioningServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateApiHubInstance",
			Handler:    _Provisioning_CreateApiHubInstance_Handler,
		},
		{
			MethodName: "DeleteApiHubInstance",
			Handler:    _Provisioning_DeleteApiHubInstance_Handler,
		},
		{
			MethodName: "GetApiHubInstance",
			Handler:    _Provisioning_GetApiHubInstance_Handler,
		},
		{
			MethodName: "LookupApiHubInstance",
			Handler:    _Provisioning_LookupApiHubInstance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/provisioning_service.proto",
}

Provisioning_ServiceDesc is the grpc.ServiceDesc for Provisioning service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RuntimeProjectAttachmentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.apihub.v1.RuntimeProjectAttachmentService",
	HandlerType: (*RuntimeProjectAttachmentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRuntimeProjectAttachment",
			Handler:    _RuntimeProjectAttachmentService_CreateRuntimeProjectAttachment_Handler,
		},
		{
			MethodName: "GetRuntimeProjectAttachment",
			Handler:    _RuntimeProjectAttachmentService_GetRuntimeProjectAttachment_Handler,
		},
		{
			MethodName: "ListRuntimeProjectAttachments",
			Handler:    _RuntimeProjectAttachmentService_ListRuntimeProjectAttachments_Handler,
		},
		{
			MethodName: "DeleteRuntimeProjectAttachment",
			Handler:    _RuntimeProjectAttachmentService_DeleteRuntimeProjectAttachment_Handler,
		},
		{
			MethodName: "LookupRuntimeProjectAttachment",
			Handler:    _RuntimeProjectAttachmentService_LookupRuntimeProjectAttachment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/apihub/v1/runtime_project_attachment_service.proto",
}

RuntimeProjectAttachmentService_ServiceDesc is the grpc.ServiceDesc for RuntimeProjectAttachmentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterApiHubCollectServer added in v0.2.0

func RegisterApiHubCollectServer(s grpc.ServiceRegistrar, srv ApiHubCollectServer)

func RegisterApiHubCurateServer added in v0.2.0

func RegisterApiHubCurateServer(s grpc.ServiceRegistrar, srv ApiHubCurateServer)

func RegisterApiHubDependenciesServer

func RegisterApiHubDependenciesServer(s grpc.ServiceRegistrar, srv ApiHubDependenciesServer)

func RegisterApiHubDiscoveryServer added in v0.2.0

func RegisterApiHubDiscoveryServer(s grpc.ServiceRegistrar, srv ApiHubDiscoveryServer)

func RegisterApiHubPluginServer

func RegisterApiHubPluginServer(s grpc.ServiceRegistrar, srv ApiHubPluginServer)

func RegisterApiHubServer

func RegisterApiHubServer(s grpc.ServiceRegistrar, srv ApiHubServer)

func RegisterHostProjectRegistrationServiceServer

func RegisterHostProjectRegistrationServiceServer(s grpc.ServiceRegistrar, srv HostProjectRegistrationServiceServer)

func RegisterLintingServiceServer

func RegisterLintingServiceServer(s grpc.ServiceRegistrar, srv LintingServiceServer)

func RegisterProvisioningServer

func RegisterProvisioningServer(s grpc.ServiceRegistrar, srv ProvisioningServer)

func RegisterRuntimeProjectAttachmentServiceServer

func RegisterRuntimeProjectAttachmentServiceServer(s grpc.ServiceRegistrar, srv RuntimeProjectAttachmentServiceServer)

Types

type APIMetadata added in v0.2.0

type APIMetadata struct {

	// Required. The API resource to be pushed to Hub's collect layer. The ID of
	// the API resource will be generated by Hub to ensure uniqueness across all
	// APIs across systems.
	Api *Api `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	// Optional. The list of versions present in an API resource.
	Versions []*VersionMetadata `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
	// Optional. The unique identifier of the API in the system where it was
	// originally created.
	OriginalId string `protobuf:"bytes,3,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
	// Optional. Timestamp indicating when the API was created at the source.
	OriginalCreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=original_create_time,json=originalCreateTime,proto3" json:"original_create_time,omitempty"`
	// Required. Timestamp indicating when the API was last updated at the source.
	OriginalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=original_update_time,json=originalUpdateTime,proto3" json:"original_update_time,omitempty"`
	// contains filtered or unexported fields
}

The API metadata.

func (*APIMetadata) Descriptor deprecated added in v0.2.0

func (*APIMetadata) Descriptor() ([]byte, []int)

Deprecated: Use APIMetadata.ProtoReflect.Descriptor instead.

func (*APIMetadata) GetApi added in v0.2.0

func (x *APIMetadata) GetApi() *Api

func (*APIMetadata) GetOriginalCreateTime added in v0.2.0

func (x *APIMetadata) GetOriginalCreateTime() *timestamppb.Timestamp

func (*APIMetadata) GetOriginalId added in v0.2.0

func (x *APIMetadata) GetOriginalId() string

func (*APIMetadata) GetOriginalUpdateTime added in v0.2.0

func (x *APIMetadata) GetOriginalUpdateTime() *timestamppb.Timestamp

func (*APIMetadata) GetVersions added in v0.2.0

func (x *APIMetadata) GetVersions() []*VersionMetadata

func (*APIMetadata) ProtoMessage added in v0.2.0

func (*APIMetadata) ProtoMessage()

func (*APIMetadata) ProtoReflect added in v0.2.0

func (x *APIMetadata) ProtoReflect() protoreflect.Message

func (*APIMetadata) Reset added in v0.2.0

func (x *APIMetadata) Reset()

func (*APIMetadata) String added in v0.2.0

func (x *APIMetadata) String() string

type ActionExecutionDetail added in v0.2.0

type ActionExecutionDetail struct {

	// Required. The action id of the plugin to execute.
	ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// contains filtered or unexported fields
}

The details for the action to execute.

func (*ActionExecutionDetail) Descriptor deprecated added in v0.2.0

func (*ActionExecutionDetail) Descriptor() ([]byte, []int)

Deprecated: Use ActionExecutionDetail.ProtoReflect.Descriptor instead.

func (*ActionExecutionDetail) GetActionId added in v0.2.0

func (x *ActionExecutionDetail) GetActionId() string

func (*ActionExecutionDetail) ProtoMessage added in v0.2.0

func (*ActionExecutionDetail) ProtoMessage()

func (*ActionExecutionDetail) ProtoReflect added in v0.2.0

func (x *ActionExecutionDetail) ProtoReflect() protoreflect.Message

func (*ActionExecutionDetail) Reset added in v0.2.0

func (x *ActionExecutionDetail) Reset()

func (*ActionExecutionDetail) String added in v0.2.0

func (x *ActionExecutionDetail) String() string

type ActionType added in v0.2.0

type ActionType int32

Enum for the action type.

const (
	// Default unspecified action type.
	ActionType_ACTION_TYPE_UNSPECIFIED ActionType = 0
	// Action type for sync metadata.
	ActionType_SYNC_METADATA ActionType = 1
	// Action type for sync runtime data.
	ActionType_SYNC_RUNTIME_DATA ActionType = 2
)

func (ActionType) Descriptor added in v0.2.0

func (ActionType) Descriptor() protoreflect.EnumDescriptor

func (ActionType) Enum added in v0.2.0

func (x ActionType) Enum() *ActionType

func (ActionType) EnumDescriptor deprecated added in v0.2.0

func (ActionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActionType.Descriptor instead.

func (ActionType) Number added in v0.2.0

func (x ActionType) Number() protoreflect.EnumNumber

func (ActionType) String added in v0.2.0

func (x ActionType) String() string

func (ActionType) Type added in v0.2.0

type Api

type Api struct {

	// Identifier. The name of the API resource in the API Hub.
	//
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the API resource.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The description of the API resource.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. The documentation for the API resource.
	Documentation *Documentation `protobuf:"bytes,4,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Optional. Owner details for the API resource.
	Owner *Owner `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	// Output only. The list of versions present in an API resource.
	// Note: An API resource can be associated with more than 1 version.
	// Format is
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Versions []string `protobuf:"bytes,6,rep,name=versions,proto3" json:"versions,omitempty"`
	// Output only. The time at which the API resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the API resource was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The target users for the API.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-target-user`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	TargetUser *AttributeValues `protobuf:"bytes,9,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty"`
	// Optional. The team owning the API.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-team`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	Team *AttributeValues `protobuf:"bytes,10,opt,name=team,proto3" json:"team,omitempty"`
	// Optional. The business unit owning the API.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-business-unit`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	BusinessUnit *AttributeValues `protobuf:"bytes,11,opt,name=business_unit,json=businessUnit,proto3" json:"business_unit,omitempty"`
	// Optional. The maturity level of the API.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-maturity-level`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	MaturityLevel *AttributeValues `protobuf:"bytes,12,opt,name=maturity_level,json=maturityLevel,proto3" json:"maturity_level,omitempty"`
	// Optional. The list of user defined attributes associated with the API
	// resource. The key is the attribute name. It will be of the format:
	// `projects/{project}/locations/{location}/attributes/{attribute}`.
	// The value is the attribute values associated with the resource.
	Attributes map[string]*AttributeValues `` /* 162-byte string literal not displayed */
	// Optional. The style of the API.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-api-style`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	ApiStyle *AttributeValues `protobuf:"bytes,14,opt,name=api_style,json=apiStyle,proto3" json:"api_style,omitempty"`
	// Optional. The selected version for an API resource.
	// This can be used when special handling is needed on client side for
	// particular version of the API. Format is
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	SelectedVersion string `protobuf:"bytes,15,opt,name=selected_version,json=selectedVersion,proto3" json:"selected_version,omitempty"`
	// Optional. The api requirement doc associated with the API resource.
	// Carinality is 1 for this attribute. This maps to the following system
	// defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-api-requirements`
	// attribute. The value of the attribute should be a proper URI, and in case
	// of Cloud Storage URI, it should point to a Cloud Storage object,
	// not a directory.
	ApiRequirements *AttributeValues `protobuf:"bytes,16,opt,name=api_requirements,json=apiRequirements,proto3" json:"api_requirements,omitempty"`
	// Optional. Fingerprint of the API resource.
	Fingerprint string `protobuf:"bytes,17,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// Output only. The list of sources and metadata from the sources of the API
	// resource.
	SourceMetadata []*SourceMetadata `protobuf:"bytes,18,rep,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// Optional. The api functional requirements associated with the API resource.
	// Carinality is 1 for this attribute.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-api-functional-requirements`
	// attribute. The value of the attribute should be a proper URI, and in case
	// of Cloud Storage URI, it should point to a Cloud Storage object,
	// not a directory.
	ApiFunctionalRequirements *AttributeValues `` /* 139-byte string literal not displayed */
	// Optional. The api technical requirements associated with the API resource.
	// Carinality is 1 for this attribute. This maps to the following system
	// defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-api-technical-requirements`
	// attribute. The value of the attribute should be a proper URI, and in case
	// of Cloud Storage URI, it should point to a Cloud Storage object,
	// not a directory.
	ApiTechnicalRequirements *AttributeValues `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

An API resource in the API Hub.

func (*Api) Descriptor deprecated

func (*Api) Descriptor() ([]byte, []int)

Deprecated: Use Api.ProtoReflect.Descriptor instead.

func (*Api) GetApiFunctionalRequirements added in v0.2.0

func (x *Api) GetApiFunctionalRequirements() *AttributeValues

func (*Api) GetApiRequirements added in v0.2.0

func (x *Api) GetApiRequirements() *AttributeValues

func (*Api) GetApiStyle

func (x *Api) GetApiStyle() *AttributeValues

func (*Api) GetApiTechnicalRequirements added in v0.2.0

func (x *Api) GetApiTechnicalRequirements() *AttributeValues

func (*Api) GetAttributes

func (x *Api) GetAttributes() map[string]*AttributeValues

func (*Api) GetBusinessUnit

func (x *Api) GetBusinessUnit() *AttributeValues

func (*Api) GetCreateTime

func (x *Api) GetCreateTime() *timestamppb.Timestamp

func (*Api) GetDescription

func (x *Api) GetDescription() string

func (*Api) GetDisplayName

func (x *Api) GetDisplayName() string

func (*Api) GetDocumentation

func (x *Api) GetDocumentation() *Documentation

func (*Api) GetFingerprint added in v0.2.0

func (x *Api) GetFingerprint() string

func (*Api) GetMaturityLevel

func (x *Api) GetMaturityLevel() *AttributeValues

func (*Api) GetName

func (x *Api) GetName() string

func (*Api) GetOwner

func (x *Api) GetOwner() *Owner

func (*Api) GetSelectedVersion

func (x *Api) GetSelectedVersion() string

func (*Api) GetSourceMetadata added in v0.2.0

func (x *Api) GetSourceMetadata() []*SourceMetadata

func (*Api) GetTargetUser

func (x *Api) GetTargetUser() *AttributeValues

func (*Api) GetTeam

func (x *Api) GetTeam() *AttributeValues

func (*Api) GetUpdateTime

func (x *Api) GetUpdateTime() *timestamppb.Timestamp

func (*Api) GetVersions

func (x *Api) GetVersions() []string

func (*Api) ProtoMessage

func (*Api) ProtoMessage()

func (*Api) ProtoReflect

func (x *Api) ProtoReflect() protoreflect.Message

func (*Api) Reset

func (x *Api) Reset()

func (*Api) String

func (x *Api) String() string

type ApiData added in v0.2.0

type ApiData struct {

	// The data to be collected.
	//
	// Types that are assignable to Data:
	//
	//	*ApiData_ApiMetadataList
	Data isApiData_Data `protobuf_oneof:"Data"`
	// contains filtered or unexported fields
}

The API data to be collected.

func (*ApiData) Descriptor deprecated added in v0.2.0

func (*ApiData) Descriptor() ([]byte, []int)

Deprecated: Use ApiData.ProtoReflect.Descriptor instead.

func (*ApiData) GetApiMetadataList added in v0.2.0

func (x *ApiData) GetApiMetadataList() *ApiMetadataList

func (*ApiData) GetData added in v0.2.0

func (m *ApiData) GetData() isApiData_Data

func (*ApiData) ProtoMessage added in v0.2.0

func (*ApiData) ProtoMessage()

func (*ApiData) ProtoReflect added in v0.2.0

func (x *ApiData) ProtoReflect() protoreflect.Message

func (*ApiData) Reset added in v0.2.0

func (x *ApiData) Reset()

func (*ApiData) String added in v0.2.0

func (x *ApiData) String() string

type ApiData_ApiMetadataList added in v0.2.0

type ApiData_ApiMetadataList struct {
	// Optional. The list of API metadata.
	ApiMetadataList *ApiMetadataList `protobuf:"bytes,1,opt,name=api_metadata_list,json=apiMetadataList,proto3,oneof"`
}

type ApiHubClient

type ApiHubClient interface {
	// Create an API resource in the API hub.
	// Once an API resource is created, versions can be added to it.
	CreateApi(ctx context.Context, in *CreateApiRequest, opts ...grpc.CallOption) (*Api, error)
	// Get API resource details including the API versions contained in it.
	GetApi(ctx context.Context, in *GetApiRequest, opts ...grpc.CallOption) (*Api, error)
	// List API resources in the API hub.
	ListApis(ctx context.Context, in *ListApisRequest, opts ...grpc.CallOption) (*ListApisResponse, error)
	// Update an API resource in the API hub. The following fields in the
	// [API][google.cloud.apihub.v1.Api] can be updated:
	//
	// * [display_name][google.cloud.apihub.v1.Api.display_name]
	// * [description][google.cloud.apihub.v1.Api.description]
	// * [owner][google.cloud.apihub.v1.Api.owner]
	// * [documentation][google.cloud.apihub.v1.Api.documentation]
	// * [target_user][google.cloud.apihub.v1.Api.target_user]
	// * [team][google.cloud.apihub.v1.Api.team]
	// * [business_unit][google.cloud.apihub.v1.Api.business_unit]
	// * [maturity_level][google.cloud.apihub.v1.Api.maturity_level]
	// * [api_style][google.cloud.apihub.v1.Api.api_style]
	// * [attributes][google.cloud.apihub.v1.Api.attributes]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
	// should be used to specify the fields being updated.
	//
	// Updating the owner field requires complete owner message
	// and updates both owner and email fields.
	UpdateApi(ctx context.Context, in *UpdateApiRequest, opts ...grpc.CallOption) (*Api, error)
	// Delete an API resource in the API hub. API can only be deleted if all
	// underlying versions are deleted.
	DeleteApi(ctx context.Context, in *DeleteApiRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Create an API version for an API resource in the API hub.
	CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*Version, error)
	// Get details about the API version of an API resource. This will include
	// information about the specs and operations present in the API
	// version as well as the deployments linked to it.
	GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error)
	// List API versions of an API resource in the API hub.
	ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
	// Update API version. The following fields in the
	// [version][google.cloud.apihub.v1.Version] can be updated currently:
	//
	// * [display_name][google.cloud.apihub.v1.Version.display_name]
	// * [description][google.cloud.apihub.v1.Version.description]
	// * [documentation][google.cloud.apihub.v1.Version.documentation]
	// * [deployments][google.cloud.apihub.v1.Version.deployments]
	// * [lifecycle][google.cloud.apihub.v1.Version.lifecycle]
	// * [compliance][google.cloud.apihub.v1.Version.compliance]
	// * [accreditation][google.cloud.apihub.v1.Version.accreditation]
	// * [attributes][google.cloud.apihub.v1.Version.attributes]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateVersionRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*Version, error)
	// Delete an API version. Version can only be deleted if all underlying specs,
	// operations, definitions and linked deployments are deleted.
	DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Add a spec to an API version in the API hub.
	// Multiple specs can be added to an API version.
	// Note, while adding a spec, at least one of `contents` or `source_uri` must
	// be provided. If `contents` is provided, then `spec_type` must also be
	// provided.
	//
	// On adding a spec with contents to the version, the operations present in it
	// will be added to the version.Note that the file contents in the spec should
	// be of the same type as defined in the
	// `projects/{project}/locations/{location}/attributes/system-spec-type`
	// attribute associated with spec resource. Note that specs of various types
	// can be uploaded, however parsing of details is supported for OpenAPI spec
	// currently.
	//
	// In order to access the information parsed from the spec, use the
	// [GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method.
	// In order to access the raw contents for a particular spec, use the
	// [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method.
	// In order to access the operations parsed from the spec, use the
	// [ListAPIOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations]
	// method.
	CreateSpec(ctx context.Context, in *CreateSpecRequest, opts ...grpc.CallOption) (*Spec, error)
	// Get details about the information parsed from a spec.
	// Note that this method does not return the raw spec contents.
	// Use [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method
	// to retrieve the same.
	GetSpec(ctx context.Context, in *GetSpecRequest, opts ...grpc.CallOption) (*Spec, error)
	// Get spec contents.
	GetSpecContents(ctx context.Context, in *GetSpecContentsRequest, opts ...grpc.CallOption) (*SpecContents, error)
	// List specs corresponding to a particular API resource.
	ListSpecs(ctx context.Context, in *ListSpecsRequest, opts ...grpc.CallOption) (*ListSpecsResponse, error)
	// Update spec. The following fields in the
	// [spec][google.cloud.apihub.v1.Spec] can be updated:
	//
	// * [display_name][google.cloud.apihub.v1.Spec.display_name]
	// * [source_uri][google.cloud.apihub.v1.Spec.source_uri]
	// * [lint_response][google.cloud.apihub.v1.Spec.lint_response]
	// * [attributes][google.cloud.apihub.v1.Spec.attributes]
	// * [contents][google.cloud.apihub.v1.Spec.contents]
	// * [spec_type][google.cloud.apihub.v1.Spec.spec_type]
	//
	// In case of an OAS spec, updating spec contents can lead to:
	// 1. Creation, deletion and update of operations.
	// 2. Creation, deletion and update of definitions.
	// 3. Update of other info parsed out from the new spec.
	//
	// In case of contents or source_uri being present in update mask, spec_type
	// must also be present. Also, spec_type can not be present in update mask if
	// contents or source_uri is not present.
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateSpecRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateSpec(ctx context.Context, in *UpdateSpecRequest, opts ...grpc.CallOption) (*Spec, error)
	// Delete a spec.
	// Deleting a spec will also delete the associated operations from the
	// version.
	DeleteSpec(ctx context.Context, in *DeleteSpecRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Create an apiOperation in an API version.
	// An apiOperation can be created only if the version has no apiOperations
	// which were created by parsing a spec.
	CreateApiOperation(ctx context.Context, in *CreateApiOperationRequest, opts ...grpc.CallOption) (*ApiOperation, error)
	// Get details about a particular operation in API version.
	GetApiOperation(ctx context.Context, in *GetApiOperationRequest, opts ...grpc.CallOption) (*ApiOperation, error)
	// List operations in an API version.
	ListApiOperations(ctx context.Context, in *ListApiOperationsRequest, opts ...grpc.CallOption) (*ListApiOperationsResponse, error)
	// Update an operation in an API version. The following fields in the
	// [ApiOperation resource][google.cloud.apihub.v1.ApiOperation] can be
	// updated:
	//
	// * [details.description][ApiOperation.details.description]
	// * [details.documentation][ApiOperation.details.documentation]
	// * [details.http_operation.path][ApiOperation.details.http_operation.path.path]
	// * [details.http_operation.method][ApiOperation.details.http_operation.method]
	// * [details.deprecated][ApiOperation.details.deprecated]
	// * [attributes][google.cloud.apihub.v1.ApiOperation.attributes]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateApiOperationRequest.update_mask]
	// should be used to specify the fields being updated.
	//
	// An operation can be updated only if the operation was created via
	// [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
	// If the operation was created by parsing the spec, then it can be edited by
	// updating the spec.
	UpdateApiOperation(ctx context.Context, in *UpdateApiOperationRequest, opts ...grpc.CallOption) (*ApiOperation, error)
	// Delete an operation in an API version and we can delete only the
	// operations created via create API. If the operation was created by parsing
	// the spec, then it can be deleted by editing or deleting the spec.
	DeleteApiOperation(ctx context.Context, in *DeleteApiOperationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Get details about a definition in an API version.
	GetDefinition(ctx context.Context, in *GetDefinitionRequest, opts ...grpc.CallOption) (*Definition, error)
	// Create a deployment resource in the API hub.
	// Once a deployment resource is created, it can be associated with API
	// versions.
	CreateDeployment(ctx context.Context, in *CreateDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
	// Get details about a deployment and the API versions linked to it.
	GetDeployment(ctx context.Context, in *GetDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
	// List deployment resources in the API hub.
	ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error)
	// Update a deployment resource in the API hub. The following fields in the
	// [deployment resource][google.cloud.apihub.v1.Deployment] can be
	// updated:
	//
	// * [display_name][google.cloud.apihub.v1.Deployment.display_name]
	// * [description][google.cloud.apihub.v1.Deployment.description]
	// * [documentation][google.cloud.apihub.v1.Deployment.documentation]
	// * [deployment_type][google.cloud.apihub.v1.Deployment.deployment_type]
	// * [resource_uri][google.cloud.apihub.v1.Deployment.resource_uri]
	// * [endpoints][google.cloud.apihub.v1.Deployment.endpoints]
	// * [slo][google.cloud.apihub.v1.Deployment.slo]
	// * [environment][google.cloud.apihub.v1.Deployment.environment]
	// * [attributes][google.cloud.apihub.v1.Deployment.attributes]
	// * [source_project] [google.cloud.apihub.v1.Deployment.source_project]
	// * [source_environment]
	// [google.cloud.apihub.v1.Deployment.source_environment]
	// * [management_url][google.cloud.apihub.v1.Deployment.management_url]
	// * [source_uri][google.cloud.apihub.v1.Deployment.source_uri]
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateDeploymentRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateDeployment(ctx context.Context, in *UpdateDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
	// Delete a deployment resource in the API hub.
	DeleteDeployment(ctx context.Context, in *DeleteDeploymentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Create a user defined attribute.
	//
	// Certain pre defined attributes are already created by the API hub. These
	// attributes will have type as `SYSTEM_DEFINED` and can be listed via
	// [ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method.
	// Allowed values for the same can be updated via
	// [UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method.
	CreateAttribute(ctx context.Context, in *CreateAttributeRequest, opts ...grpc.CallOption) (*Attribute, error)
	// Get details about the attribute.
	GetAttribute(ctx context.Context, in *GetAttributeRequest, opts ...grpc.CallOption) (*Attribute, error)
	// Update the attribute.  The following fields in the
	// [Attribute resource][google.cloud.apihub.v1.Attribute] can be updated:
	//
	// * [display_name][google.cloud.apihub.v1.Attribute.display_name]
	// The display name can be updated for user defined attributes only.
	// * [description][google.cloud.apihub.v1.Attribute.description]
	// The description can be updated for user defined attributes only.
	// * [allowed_values][google.cloud.apihub.v1.Attribute.allowed_values]
	// To update the list of allowed values, clients need to use the fetched list
	// of allowed values and add or remove values to or from the same list.
	// The mutable allowed values can be updated for both user defined and System
	// defined attributes. The immutable allowed values cannot be updated or
	// deleted. The updated list of allowed values cannot be empty. If an allowed
	// value that is already used by some resource's attribute is deleted, then
	// the association between the resource and the attribute value will also be
	// deleted.
	// * [cardinality][google.cloud.apihub.v1.Attribute.cardinality]
	// The cardinality can be updated for user defined attributes only.
	// Cardinality can only be increased during an update.
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateAttributeRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateAttribute(ctx context.Context, in *UpdateAttributeRequest, opts ...grpc.CallOption) (*Attribute, error)
	// Delete an attribute.
	//
	// Note: System defined attributes cannot be deleted. All
	// associations of the attribute being deleted with any API hub resource will
	// also get deleted.
	DeleteAttribute(ctx context.Context, in *DeleteAttributeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// List all attributes.
	ListAttributes(ctx context.Context, in *ListAttributesRequest, opts ...grpc.CallOption) (*ListAttributesResponse, error)
	// Search across API-Hub resources.
	SearchResources(ctx context.Context, in *SearchResourcesRequest, opts ...grpc.CallOption) (*SearchResourcesResponse, error)
	// Create an External API resource in the API hub.
	CreateExternalApi(ctx context.Context, in *CreateExternalApiRequest, opts ...grpc.CallOption) (*ExternalApi, error)
	// Get details about an External API resource in the API hub.
	GetExternalApi(ctx context.Context, in *GetExternalApiRequest, opts ...grpc.CallOption) (*ExternalApi, error)
	// Update an External API resource in the API hub. The following fields can be
	// updated:
	//
	// * [display_name][google.cloud.apihub.v1.ExternalApi.display_name]
	// * [description][google.cloud.apihub.v1.ExternalApi.description]
	// * [documentation][google.cloud.apihub.v1.ExternalApi.documentation]
	// * [endpoints][google.cloud.apihub.v1.ExternalApi.endpoints]
	// * [paths][google.cloud.apihub.v1.ExternalApi.paths]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateExternalApiRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateExternalApi(ctx context.Context, in *UpdateExternalApiRequest, opts ...grpc.CallOption) (*ExternalApi, error)
	// Delete an External API resource in the API hub.
	DeleteExternalApi(ctx context.Context, in *DeleteExternalApiRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// List External API resources in the API hub.
	ListExternalApis(ctx context.Context, in *ListExternalApisRequest, opts ...grpc.CallOption) (*ListExternalApisResponse, error)
}

ApiHubClient is the client API for ApiHub 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 NewApiHubClient

func NewApiHubClient(cc grpc.ClientConnInterface) ApiHubClient

type ApiHubCollectClient added in v0.2.0

type ApiHubCollectClient interface {
	// Collect API data from a source and push it to Hub's collect layer.
	CollectApiData(ctx context.Context, in *CollectApiDataRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

ApiHubCollectClient is the client API for ApiHubCollect 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 NewApiHubCollectClient added in v0.2.0

func NewApiHubCollectClient(cc grpc.ClientConnInterface) ApiHubCollectClient

type ApiHubCollectServer added in v0.2.0

type ApiHubCollectServer interface {
	// Collect API data from a source and push it to Hub's collect layer.
	CollectApiData(context.Context, *CollectApiDataRequest) (*longrunningpb.Operation, error)
}

ApiHubCollectServer is the server API for ApiHubCollect service. All implementations should embed UnimplementedApiHubCollectServer for forward compatibility

type ApiHubCurateClient added in v0.2.0

type ApiHubCurateClient interface {
	// Create a curation resource in the API hub.
	// Once a curation resource is created, plugin instances can start using it.
	CreateCuration(ctx context.Context, in *CreateCurationRequest, opts ...grpc.CallOption) (*Curation, error)
	// Get curation resource details.
	GetCuration(ctx context.Context, in *GetCurationRequest, opts ...grpc.CallOption) (*Curation, error)
	// List curation resources in the API hub.
	ListCurations(ctx context.Context, in *ListCurationsRequest, opts ...grpc.CallOption) (*ListCurationsResponse, error)
	// Update a curation resource in the API hub. The following fields in the
	// [curation][google.cloud.apihub.v1.Curation] can be updated:
	//
	// * [display_name][google.cloud.apihub.v1.Curation.display_name]
	// * [description][google.cloud.apihub.v1.Curation.description]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateCuration(ctx context.Context, in *UpdateCurationRequest, opts ...grpc.CallOption) (*Curation, error)
	// Delete a curation resource in the API hub. A curation can only be deleted
	// if it's not being used by any plugin instance.
	DeleteCuration(ctx context.Context, in *DeleteCurationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ApiHubCurateClient is the client API for ApiHubCurate 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 NewApiHubCurateClient added in v0.2.0

func NewApiHubCurateClient(cc grpc.ClientConnInterface) ApiHubCurateClient

type ApiHubCurateServer added in v0.2.0

type ApiHubCurateServer interface {
	// Create a curation resource in the API hub.
	// Once a curation resource is created, plugin instances can start using it.
	CreateCuration(context.Context, *CreateCurationRequest) (*Curation, error)
	// Get curation resource details.
	GetCuration(context.Context, *GetCurationRequest) (*Curation, error)
	// List curation resources in the API hub.
	ListCurations(context.Context, *ListCurationsRequest) (*ListCurationsResponse, error)
	// Update a curation resource in the API hub. The following fields in the
	// [curation][google.cloud.apihub.v1.Curation] can be updated:
	//
	// * [display_name][google.cloud.apihub.v1.Curation.display_name]
	// * [description][google.cloud.apihub.v1.Curation.description]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateCuration(context.Context, *UpdateCurationRequest) (*Curation, error)
	// Delete a curation resource in the API hub. A curation can only be deleted
	// if it's not being used by any plugin instance.
	DeleteCuration(context.Context, *DeleteCurationRequest) (*emptypb.Empty, error)
}

ApiHubCurateServer is the server API for ApiHubCurate service. All implementations should embed UnimplementedApiHubCurateServer for forward compatibility

type ApiHubDependenciesClient

type ApiHubDependenciesClient interface {
	// Create a dependency between two entities in the API hub.
	CreateDependency(ctx context.Context, in *CreateDependencyRequest, opts ...grpc.CallOption) (*Dependency, error)
	// Get details about a dependency resource in the API hub.
	GetDependency(ctx context.Context, in *GetDependencyRequest, opts ...grpc.CallOption) (*Dependency, error)
	// Update a dependency based on the
	// [update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask]
	// provided in the request.
	//
	// The following fields in the [dependency][google.cloud.apihub.v1.Dependency]
	// can be updated:
	// * [description][google.cloud.apihub.v1.Dependency.description]
	UpdateDependency(ctx context.Context, in *UpdateDependencyRequest, opts ...grpc.CallOption) (*Dependency, error)
	// Delete the dependency resource.
	DeleteDependency(ctx context.Context, in *DeleteDependencyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// List dependencies based on the provided filter and pagination parameters.
	ListDependencies(ctx context.Context, in *ListDependenciesRequest, opts ...grpc.CallOption) (*ListDependenciesResponse, error)
}

ApiHubDependenciesClient is the client API for ApiHubDependencies 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.

type ApiHubDependenciesServer

type ApiHubDependenciesServer interface {
	// Create a dependency between two entities in the API hub.
	CreateDependency(context.Context, *CreateDependencyRequest) (*Dependency, error)
	// Get details about a dependency resource in the API hub.
	GetDependency(context.Context, *GetDependencyRequest) (*Dependency, error)
	// Update a dependency based on the
	// [update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask]
	// provided in the request.
	//
	// The following fields in the [dependency][google.cloud.apihub.v1.Dependency]
	// can be updated:
	// * [description][google.cloud.apihub.v1.Dependency.description]
	UpdateDependency(context.Context, *UpdateDependencyRequest) (*Dependency, error)
	// Delete the dependency resource.
	DeleteDependency(context.Context, *DeleteDependencyRequest) (*emptypb.Empty, error)
	// List dependencies based on the provided filter and pagination parameters.
	ListDependencies(context.Context, *ListDependenciesRequest) (*ListDependenciesResponse, error)
}

ApiHubDependenciesServer is the server API for ApiHubDependencies service. All implementations should embed UnimplementedApiHubDependenciesServer for forward compatibility

type ApiHubDiscoveryClient added in v0.2.0

type ApiHubDiscoveryClient interface {
	// Lists all the DiscoveredAPIObservations in a given project and location.
	ListDiscoveredApiObservations(ctx context.Context, in *ListDiscoveredApiObservationsRequest, opts ...grpc.CallOption) (*ListDiscoveredApiObservationsResponse, error)
	// Gets a DiscoveredAPIObservation in a given project, location and
	// ApiObservation.
	GetDiscoveredApiObservation(ctx context.Context, in *GetDiscoveredApiObservationRequest, opts ...grpc.CallOption) (*DiscoveredApiObservation, error)
	// Lists all the DiscoveredAPIOperations in a given project, location and
	// ApiObservation.
	ListDiscoveredApiOperations(ctx context.Context, in *ListDiscoveredApiOperationsRequest, opts ...grpc.CallOption) (*ListDiscoveredApiOperationsResponse, error)
	// Gets a DiscoveredAPIOperation in a given project, location,
	// ApiObservation and ApiOperation.
	GetDiscoveredApiOperation(ctx context.Context, in *GetDiscoveredApiOperationRequest, opts ...grpc.CallOption) (*DiscoveredApiOperation, error)
}

ApiHubDiscoveryClient is the client API for ApiHubDiscovery 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 NewApiHubDiscoveryClient added in v0.2.0

func NewApiHubDiscoveryClient(cc grpc.ClientConnInterface) ApiHubDiscoveryClient

type ApiHubDiscoveryServer added in v0.2.0

type ApiHubDiscoveryServer interface {
	// Lists all the DiscoveredAPIObservations in a given project and location.
	ListDiscoveredApiObservations(context.Context, *ListDiscoveredApiObservationsRequest) (*ListDiscoveredApiObservationsResponse, error)
	// Gets a DiscoveredAPIObservation in a given project, location and
	// ApiObservation.
	GetDiscoveredApiObservation(context.Context, *GetDiscoveredApiObservationRequest) (*DiscoveredApiObservation, error)
	// Lists all the DiscoveredAPIOperations in a given project, location and
	// ApiObservation.
	ListDiscoveredApiOperations(context.Context, *ListDiscoveredApiOperationsRequest) (*ListDiscoveredApiOperationsResponse, error)
	// Gets a DiscoveredAPIOperation in a given project, location,
	// ApiObservation and ApiOperation.
	GetDiscoveredApiOperation(context.Context, *GetDiscoveredApiOperationRequest) (*DiscoveredApiOperation, error)
}

ApiHubDiscoveryServer is the server API for ApiHubDiscovery service. All implementations should embed UnimplementedApiHubDiscoveryServer for forward compatibility

type ApiHubInstance

type ApiHubInstance struct {

	// Identifier. Format:
	// `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The current state of the ApiHub instance.
	State ApiHubInstance_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.apihub.v1.ApiHubInstance_State" json:"state,omitempty"`
	// Output only. Extra information about ApiHub instance state. Currently the
	// message would be populated when state is `FAILED`.
	StateMessage string `protobuf:"bytes,5,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
	// Required. Config of the ApiHub instance.
	Config *ApiHubInstance_Config `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
	// Optional. Instance labels to represent user-provided metadata.
	// Refer to cloud documentation on labels for more details.
	// https://cloud.google.com/compute/docs/labeling-resources
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Optional. Description of the ApiHub instance.
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

An ApiHubInstance represents the instance resources of the API Hub. Currently, only one ApiHub instance is allowed for each project.

func (*ApiHubInstance) Descriptor deprecated

func (*ApiHubInstance) Descriptor() ([]byte, []int)

Deprecated: Use ApiHubInstance.ProtoReflect.Descriptor instead.

func (*ApiHubInstance) GetConfig

func (x *ApiHubInstance) GetConfig() *ApiHubInstance_Config

func (*ApiHubInstance) GetCreateTime

func (x *ApiHubInstance) GetCreateTime() *timestamppb.Timestamp

func (*ApiHubInstance) GetDescription

func (x *ApiHubInstance) GetDescription() string

func (*ApiHubInstance) GetLabels

func (x *ApiHubInstance) GetLabels() map[string]string

func (*ApiHubInstance) GetName

func (x *ApiHubInstance) GetName() string

func (*ApiHubInstance) GetState

func (x *ApiHubInstance) GetState() ApiHubInstance_State

func (*ApiHubInstance) GetStateMessage

func (x *ApiHubInstance) GetStateMessage() string

func (*ApiHubInstance) GetUpdateTime

func (x *ApiHubInstance) GetUpdateTime() *timestamppb.Timestamp

func (*ApiHubInstance) ProtoMessage

func (*ApiHubInstance) ProtoMessage()

func (*ApiHubInstance) ProtoReflect

func (x *ApiHubInstance) ProtoReflect() protoreflect.Message

func (*ApiHubInstance) Reset

func (x *ApiHubInstance) Reset()

func (*ApiHubInstance) String

func (x *ApiHubInstance) String() string

type ApiHubInstance_Config

type ApiHubInstance_Config struct {

	// Optional. The Customer Managed Encryption Key (CMEK) used for data
	// encryption. The CMEK name should follow the format of
	// `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,
	// where the location must match the instance location.
	// If the CMEK is not provided, a GMEK will be created for the instance.
	CmekKeyName string `protobuf:"bytes,1,opt,name=cmek_key_name,json=cmekKeyName,proto3" json:"cmek_key_name,omitempty"`
	// Optional. If true, the search will be disabled for the instance. The
	// default value is false.
	DisableSearch bool `protobuf:"varint,2,opt,name=disable_search,json=disableSearch,proto3" json:"disable_search,omitempty"`
	// Optional. The name of the Vertex AI location where the data store is
	// stored.
	VertexLocation string `protobuf:"bytes,3,opt,name=vertex_location,json=vertexLocation,proto3" json:"vertex_location,omitempty"`
	// Optional. Encryption type for the region. If the encryption type is CMEK,
	// the cmek_key_name must be provided. If no encryption type is provided,
	// GMEK will be used.
	EncryptionType ApiHubInstance_Config_EncryptionType `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Available configurations to provision an ApiHub Instance.

func (*ApiHubInstance_Config) Descriptor deprecated

func (*ApiHubInstance_Config) Descriptor() ([]byte, []int)

Deprecated: Use ApiHubInstance_Config.ProtoReflect.Descriptor instead.

func (*ApiHubInstance_Config) GetCmekKeyName

func (x *ApiHubInstance_Config) GetCmekKeyName() string

func (*ApiHubInstance_Config) GetDisableSearch added in v0.2.0

func (x *ApiHubInstance_Config) GetDisableSearch() bool

func (*ApiHubInstance_Config) GetEncryptionType added in v0.2.0

func (*ApiHubInstance_Config) GetVertexLocation added in v0.2.0

func (x *ApiHubInstance_Config) GetVertexLocation() string

func (*ApiHubInstance_Config) ProtoMessage

func (*ApiHubInstance_Config) ProtoMessage()

func (*ApiHubInstance_Config) ProtoReflect

func (x *ApiHubInstance_Config) ProtoReflect() protoreflect.Message

func (*ApiHubInstance_Config) Reset

func (x *ApiHubInstance_Config) Reset()

func (*ApiHubInstance_Config) String

func (x *ApiHubInstance_Config) String() string

type ApiHubInstance_Config_EncryptionType added in v0.2.0

type ApiHubInstance_Config_EncryptionType int32

Types of data encryption.

const (
	// Encryption type unspecified.
	ApiHubInstance_Config_ENCRYPTION_TYPE_UNSPECIFIED ApiHubInstance_Config_EncryptionType = 0
	// Default encryption using Google managed encryption key.
	ApiHubInstance_Config_GMEK ApiHubInstance_Config_EncryptionType = 1
	// Encryption using customer managed encryption key.
	ApiHubInstance_Config_CMEK ApiHubInstance_Config_EncryptionType = 2
)

func (ApiHubInstance_Config_EncryptionType) Descriptor added in v0.2.0

func (ApiHubInstance_Config_EncryptionType) Enum added in v0.2.0

func (ApiHubInstance_Config_EncryptionType) EnumDescriptor deprecated added in v0.2.0

func (ApiHubInstance_Config_EncryptionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApiHubInstance_Config_EncryptionType.Descriptor instead.

func (ApiHubInstance_Config_EncryptionType) Number added in v0.2.0

func (ApiHubInstance_Config_EncryptionType) String added in v0.2.0

func (ApiHubInstance_Config_EncryptionType) Type added in v0.2.0

type ApiHubInstance_State

type ApiHubInstance_State int32

State of the ApiHub Instance.

const (
	// The default value. This value is used if the state is omitted.
	ApiHubInstance_STATE_UNSPECIFIED ApiHubInstance_State = 0
	// The ApiHub instance has not been initialized or has been deleted.
	ApiHubInstance_INACTIVE ApiHubInstance_State = 1
	// The ApiHub instance is being created.
	ApiHubInstance_CREATING ApiHubInstance_State = 2
	// The ApiHub instance has been created and is ready for use.
	ApiHubInstance_ACTIVE ApiHubInstance_State = 3
	// The ApiHub instance is being updated.
	ApiHubInstance_UPDATING ApiHubInstance_State = 4
	// The ApiHub instance is being deleted.
	ApiHubInstance_DELETING ApiHubInstance_State = 5
	// The ApiHub instance encountered an error during a state change.
	ApiHubInstance_FAILED ApiHubInstance_State = 6
)

func (ApiHubInstance_State) Descriptor

func (ApiHubInstance_State) Enum

func (ApiHubInstance_State) EnumDescriptor deprecated

func (ApiHubInstance_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApiHubInstance_State.Descriptor instead.

func (ApiHubInstance_State) Number

func (ApiHubInstance_State) String

func (x ApiHubInstance_State) String() string

func (ApiHubInstance_State) Type

type ApiHubPluginClient

type ApiHubPluginClient interface {
	// Get an API Hub plugin.
	GetPlugin(ctx context.Context, in *GetPluginRequest, opts ...grpc.CallOption) (*Plugin, error)
	// Enables a plugin.
	// The `state` of the plugin after enabling is `ENABLED`
	EnablePlugin(ctx context.Context, in *EnablePluginRequest, opts ...grpc.CallOption) (*Plugin, error)
	// Disables a plugin.
	// The `state` of the plugin after disabling is `DISABLED`
	DisablePlugin(ctx context.Context, in *DisablePluginRequest, opts ...grpc.CallOption) (*Plugin, error)
	// Create an API Hub plugin resource in the API hub.
	// Once a plugin is created, it can be used to create plugin instances.
	CreatePlugin(ctx context.Context, in *CreatePluginRequest, opts ...grpc.CallOption) (*Plugin, error)
	// List all the plugins in a given project and location.
	ListPlugins(ctx context.Context, in *ListPluginsRequest, opts ...grpc.CallOption) (*ListPluginsResponse, error)
	// Delete a Plugin in API hub.
	// Note, only user owned plugins can be deleted via this method.
	DeletePlugin(ctx context.Context, in *DeletePluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates a Plugin instance in the API hub.
	CreatePluginInstance(ctx context.Context, in *CreatePluginInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Executes a plugin instance in the API hub.
	ExecutePluginInstanceAction(ctx context.Context, in *ExecutePluginInstanceActionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Get an API Hub plugin instance.
	GetPluginInstance(ctx context.Context, in *GetPluginInstanceRequest, opts ...grpc.CallOption) (*PluginInstance, error)
	// List all the plugins in a given project and location.
	// `-` can be used as wildcard value for {plugin_id}
	ListPluginInstances(ctx context.Context, in *ListPluginInstancesRequest, opts ...grpc.CallOption) (*ListPluginInstancesResponse, error)
	// Enables a plugin instance in the API hub.
	EnablePluginInstanceAction(ctx context.Context, in *EnablePluginInstanceActionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Disables a plugin instance in the API hub.
	DisablePluginInstanceAction(ctx context.Context, in *DisablePluginInstanceActionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates a plugin instance in the API hub.
	// The following fields in the
	// [plugin_instance][google.cloud.apihub.v1.PluginInstance] can be updated
	// currently:
	//
	// * [display_name][google.cloud.apihub.v1.PluginInstance.display_name]
	// * [schedule_cron_expression][PluginInstance.actions.schedule_cron_expression]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdatePluginInstanceRequest.update_mask]
	// should be used to specify the fields being updated.
	//
	// To update the
	// [auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] and
	// [additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]
	// of the plugin instance, use the
	// [ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]
	// method.
	UpdatePluginInstance(ctx context.Context, in *UpdatePluginInstanceRequest, opts ...grpc.CallOption) (*PluginInstance, error)
	// Deletes a plugin instance in the API hub.
	DeletePluginInstance(ctx context.Context, in *DeletePluginInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

ApiHubPluginClient is the client API for ApiHubPlugin 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.

type ApiHubPluginServer

type ApiHubPluginServer interface {
	// Get an API Hub plugin.
	GetPlugin(context.Context, *GetPluginRequest) (*Plugin, error)
	// Enables a plugin.
	// The `state` of the plugin after enabling is `ENABLED`
	EnablePlugin(context.Context, *EnablePluginRequest) (*Plugin, error)
	// Disables a plugin.
	// The `state` of the plugin after disabling is `DISABLED`
	DisablePlugin(context.Context, *DisablePluginRequest) (*Plugin, error)
	// Create an API Hub plugin resource in the API hub.
	// Once a plugin is created, it can be used to create plugin instances.
	CreatePlugin(context.Context, *CreatePluginRequest) (*Plugin, error)
	// List all the plugins in a given project and location.
	ListPlugins(context.Context, *ListPluginsRequest) (*ListPluginsResponse, error)
	// Delete a Plugin in API hub.
	// Note, only user owned plugins can be deleted via this method.
	DeletePlugin(context.Context, *DeletePluginRequest) (*longrunningpb.Operation, error)
	// Creates a Plugin instance in the API hub.
	CreatePluginInstance(context.Context, *CreatePluginInstanceRequest) (*longrunningpb.Operation, error)
	// Executes a plugin instance in the API hub.
	ExecutePluginInstanceAction(context.Context, *ExecutePluginInstanceActionRequest) (*longrunningpb.Operation, error)
	// Get an API Hub plugin instance.
	GetPluginInstance(context.Context, *GetPluginInstanceRequest) (*PluginInstance, error)
	// List all the plugins in a given project and location.
	// `-` can be used as wildcard value for {plugin_id}
	ListPluginInstances(context.Context, *ListPluginInstancesRequest) (*ListPluginInstancesResponse, error)
	// Enables a plugin instance in the API hub.
	EnablePluginInstanceAction(context.Context, *EnablePluginInstanceActionRequest) (*longrunningpb.Operation, error)
	// Disables a plugin instance in the API hub.
	DisablePluginInstanceAction(context.Context, *DisablePluginInstanceActionRequest) (*longrunningpb.Operation, error)
	// Updates a plugin instance in the API hub.
	// The following fields in the
	// [plugin_instance][google.cloud.apihub.v1.PluginInstance] can be updated
	// currently:
	//
	// * [display_name][google.cloud.apihub.v1.PluginInstance.display_name]
	// * [schedule_cron_expression][PluginInstance.actions.schedule_cron_expression]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdatePluginInstanceRequest.update_mask]
	// should be used to specify the fields being updated.
	//
	// To update the
	// [auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] and
	// [additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]
	// of the plugin instance, use the
	// [ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]
	// method.
	UpdatePluginInstance(context.Context, *UpdatePluginInstanceRequest) (*PluginInstance, error)
	// Deletes a plugin instance in the API hub.
	DeletePluginInstance(context.Context, *DeletePluginInstanceRequest) (*longrunningpb.Operation, error)
}

ApiHubPluginServer is the server API for ApiHubPlugin service. All implementations should embed UnimplementedApiHubPluginServer for forward compatibility

type ApiHubResource

type ApiHubResource struct {

	// Types that are assignable to Resource:
	//
	//	*ApiHubResource_Api
	//	*ApiHubResource_Operation
	//	*ApiHubResource_Deployment
	//	*ApiHubResource_Spec
	//	*ApiHubResource_Definition
	//	*ApiHubResource_Version
	Resource isApiHubResource_Resource `protobuf_oneof:"resource"`
	// contains filtered or unexported fields
}

ApiHubResource is one of the resources such as Api, Operation, Deployment, Definition, Spec and Version resources stored in API-Hub.

func (*ApiHubResource) Descriptor deprecated

func (*ApiHubResource) Descriptor() ([]byte, []int)

Deprecated: Use ApiHubResource.ProtoReflect.Descriptor instead.

func (*ApiHubResource) GetApi

func (x *ApiHubResource) GetApi() *Api

func (*ApiHubResource) GetDefinition

func (x *ApiHubResource) GetDefinition() *Definition

func (*ApiHubResource) GetDeployment

func (x *ApiHubResource) GetDeployment() *Deployment

func (*ApiHubResource) GetOperation

func (x *ApiHubResource) GetOperation() *ApiOperation

func (*ApiHubResource) GetResource

func (m *ApiHubResource) GetResource() isApiHubResource_Resource

func (*ApiHubResource) GetSpec

func (x *ApiHubResource) GetSpec() *Spec

func (*ApiHubResource) GetVersion

func (x *ApiHubResource) GetVersion() *Version

func (*ApiHubResource) ProtoMessage

func (*ApiHubResource) ProtoMessage()

func (*ApiHubResource) ProtoReflect

func (x *ApiHubResource) ProtoReflect() protoreflect.Message

func (*ApiHubResource) Reset

func (x *ApiHubResource) Reset()

func (*ApiHubResource) String

func (x *ApiHubResource) String() string

type ApiHubResource_Api

type ApiHubResource_Api struct {
	// This represents Api resource in search results. Only name, display_name,
	// description and owner fields are populated in search results.
	Api *Api `protobuf:"bytes,1,opt,name=api,proto3,oneof"`
}

type ApiHubResource_Definition

type ApiHubResource_Definition struct {
	// This represents Definition resource in search results.
	// Only name field is populated in search results.
	Definition *Definition `protobuf:"bytes,5,opt,name=definition,proto3,oneof"`
}

type ApiHubResource_Deployment

type ApiHubResource_Deployment struct {
	// This represents Deployment resource in search results. Only name,
	// display_name, description, deployment_type and api_versions fields are
	// populated in search results.
	Deployment *Deployment `protobuf:"bytes,3,opt,name=deployment,proto3,oneof"`
}

type ApiHubResource_Operation

type ApiHubResource_Operation struct {
	// This represents ApiOperation resource in search results. Only name,
	// description, spec and details fields are populated in search results.
	Operation *ApiOperation `protobuf:"bytes,2,opt,name=operation,proto3,oneof"`
}

type ApiHubResource_Spec

type ApiHubResource_Spec struct {
	// This represents Spec resource in search results. Only name,
	// display_name, description, spec_type and documentation fields are
	// populated in search results.
	Spec *Spec `protobuf:"bytes,4,opt,name=spec,proto3,oneof"`
}

type ApiHubResource_Version

type ApiHubResource_Version struct {
	// This represents Version resource in search results. Only name,
	// display_name, description, lifecycle, compliance and accreditation fields
	// are populated in search results.
	Version *Version `protobuf:"bytes,6,opt,name=version,proto3,oneof"`
}

type ApiHubServer

type ApiHubServer interface {
	// Create an API resource in the API hub.
	// Once an API resource is created, versions can be added to it.
	CreateApi(context.Context, *CreateApiRequest) (*Api, error)
	// Get API resource details including the API versions contained in it.
	GetApi(context.Context, *GetApiRequest) (*Api, error)
	// List API resources in the API hub.
	ListApis(context.Context, *ListApisRequest) (*ListApisResponse, error)
	// Update an API resource in the API hub. The following fields in the
	// [API][google.cloud.apihub.v1.Api] can be updated:
	//
	// * [display_name][google.cloud.apihub.v1.Api.display_name]
	// * [description][google.cloud.apihub.v1.Api.description]
	// * [owner][google.cloud.apihub.v1.Api.owner]
	// * [documentation][google.cloud.apihub.v1.Api.documentation]
	// * [target_user][google.cloud.apihub.v1.Api.target_user]
	// * [team][google.cloud.apihub.v1.Api.team]
	// * [business_unit][google.cloud.apihub.v1.Api.business_unit]
	// * [maturity_level][google.cloud.apihub.v1.Api.maturity_level]
	// * [api_style][google.cloud.apihub.v1.Api.api_style]
	// * [attributes][google.cloud.apihub.v1.Api.attributes]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
	// should be used to specify the fields being updated.
	//
	// Updating the owner field requires complete owner message
	// and updates both owner and email fields.
	UpdateApi(context.Context, *UpdateApiRequest) (*Api, error)
	// Delete an API resource in the API hub. API can only be deleted if all
	// underlying versions are deleted.
	DeleteApi(context.Context, *DeleteApiRequest) (*emptypb.Empty, error)
	// Create an API version for an API resource in the API hub.
	CreateVersion(context.Context, *CreateVersionRequest) (*Version, error)
	// Get details about the API version of an API resource. This will include
	// information about the specs and operations present in the API
	// version as well as the deployments linked to it.
	GetVersion(context.Context, *GetVersionRequest) (*Version, error)
	// List API versions of an API resource in the API hub.
	ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
	// Update API version. The following fields in the
	// [version][google.cloud.apihub.v1.Version] can be updated currently:
	//
	// * [display_name][google.cloud.apihub.v1.Version.display_name]
	// * [description][google.cloud.apihub.v1.Version.description]
	// * [documentation][google.cloud.apihub.v1.Version.documentation]
	// * [deployments][google.cloud.apihub.v1.Version.deployments]
	// * [lifecycle][google.cloud.apihub.v1.Version.lifecycle]
	// * [compliance][google.cloud.apihub.v1.Version.compliance]
	// * [accreditation][google.cloud.apihub.v1.Version.accreditation]
	// * [attributes][google.cloud.apihub.v1.Version.attributes]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateVersionRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
	// Delete an API version. Version can only be deleted if all underlying specs,
	// operations, definitions and linked deployments are deleted.
	DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error)
	// Add a spec to an API version in the API hub.
	// Multiple specs can be added to an API version.
	// Note, while adding a spec, at least one of `contents` or `source_uri` must
	// be provided. If `contents` is provided, then `spec_type` must also be
	// provided.
	//
	// On adding a spec with contents to the version, the operations present in it
	// will be added to the version.Note that the file contents in the spec should
	// be of the same type as defined in the
	// `projects/{project}/locations/{location}/attributes/system-spec-type`
	// attribute associated with spec resource. Note that specs of various types
	// can be uploaded, however parsing of details is supported for OpenAPI spec
	// currently.
	//
	// In order to access the information parsed from the spec, use the
	// [GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method.
	// In order to access the raw contents for a particular spec, use the
	// [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method.
	// In order to access the operations parsed from the spec, use the
	// [ListAPIOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations]
	// method.
	CreateSpec(context.Context, *CreateSpecRequest) (*Spec, error)
	// Get details about the information parsed from a spec.
	// Note that this method does not return the raw spec contents.
	// Use [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method
	// to retrieve the same.
	GetSpec(context.Context, *GetSpecRequest) (*Spec, error)
	// Get spec contents.
	GetSpecContents(context.Context, *GetSpecContentsRequest) (*SpecContents, error)
	// List specs corresponding to a particular API resource.
	ListSpecs(context.Context, *ListSpecsRequest) (*ListSpecsResponse, error)
	// Update spec. The following fields in the
	// [spec][google.cloud.apihub.v1.Spec] can be updated:
	//
	// * [display_name][google.cloud.apihub.v1.Spec.display_name]
	// * [source_uri][google.cloud.apihub.v1.Spec.source_uri]
	// * [lint_response][google.cloud.apihub.v1.Spec.lint_response]
	// * [attributes][google.cloud.apihub.v1.Spec.attributes]
	// * [contents][google.cloud.apihub.v1.Spec.contents]
	// * [spec_type][google.cloud.apihub.v1.Spec.spec_type]
	//
	// In case of an OAS spec, updating spec contents can lead to:
	// 1. Creation, deletion and update of operations.
	// 2. Creation, deletion and update of definitions.
	// 3. Update of other info parsed out from the new spec.
	//
	// In case of contents or source_uri being present in update mask, spec_type
	// must also be present. Also, spec_type can not be present in update mask if
	// contents or source_uri is not present.
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateSpecRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateSpec(context.Context, *UpdateSpecRequest) (*Spec, error)
	// Delete a spec.
	// Deleting a spec will also delete the associated operations from the
	// version.
	DeleteSpec(context.Context, *DeleteSpecRequest) (*emptypb.Empty, error)
	// Create an apiOperation in an API version.
	// An apiOperation can be created only if the version has no apiOperations
	// which were created by parsing a spec.
	CreateApiOperation(context.Context, *CreateApiOperationRequest) (*ApiOperation, error)
	// Get details about a particular operation in API version.
	GetApiOperation(context.Context, *GetApiOperationRequest) (*ApiOperation, error)
	// List operations in an API version.
	ListApiOperations(context.Context, *ListApiOperationsRequest) (*ListApiOperationsResponse, error)
	// Update an operation in an API version. The following fields in the
	// [ApiOperation resource][google.cloud.apihub.v1.ApiOperation] can be
	// updated:
	//
	// * [details.description][ApiOperation.details.description]
	// * [details.documentation][ApiOperation.details.documentation]
	// * [details.http_operation.path][ApiOperation.details.http_operation.path.path]
	// * [details.http_operation.method][ApiOperation.details.http_operation.method]
	// * [details.deprecated][ApiOperation.details.deprecated]
	// * [attributes][google.cloud.apihub.v1.ApiOperation.attributes]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateApiOperationRequest.update_mask]
	// should be used to specify the fields being updated.
	//
	// An operation can be updated only if the operation was created via
	// [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
	// If the operation was created by parsing the spec, then it can be edited by
	// updating the spec.
	UpdateApiOperation(context.Context, *UpdateApiOperationRequest) (*ApiOperation, error)
	// Delete an operation in an API version and we can delete only the
	// operations created via create API. If the operation was created by parsing
	// the spec, then it can be deleted by editing or deleting the spec.
	DeleteApiOperation(context.Context, *DeleteApiOperationRequest) (*emptypb.Empty, error)
	// Get details about a definition in an API version.
	GetDefinition(context.Context, *GetDefinitionRequest) (*Definition, error)
	// Create a deployment resource in the API hub.
	// Once a deployment resource is created, it can be associated with API
	// versions.
	CreateDeployment(context.Context, *CreateDeploymentRequest) (*Deployment, error)
	// Get details about a deployment and the API versions linked to it.
	GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
	// List deployment resources in the API hub.
	ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
	// Update a deployment resource in the API hub. The following fields in the
	// [deployment resource][google.cloud.apihub.v1.Deployment] can be
	// updated:
	//
	// * [display_name][google.cloud.apihub.v1.Deployment.display_name]
	// * [description][google.cloud.apihub.v1.Deployment.description]
	// * [documentation][google.cloud.apihub.v1.Deployment.documentation]
	// * [deployment_type][google.cloud.apihub.v1.Deployment.deployment_type]
	// * [resource_uri][google.cloud.apihub.v1.Deployment.resource_uri]
	// * [endpoints][google.cloud.apihub.v1.Deployment.endpoints]
	// * [slo][google.cloud.apihub.v1.Deployment.slo]
	// * [environment][google.cloud.apihub.v1.Deployment.environment]
	// * [attributes][google.cloud.apihub.v1.Deployment.attributes]
	// * [source_project] [google.cloud.apihub.v1.Deployment.source_project]
	// * [source_environment]
	// [google.cloud.apihub.v1.Deployment.source_environment]
	// * [management_url][google.cloud.apihub.v1.Deployment.management_url]
	// * [source_uri][google.cloud.apihub.v1.Deployment.source_uri]
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateDeploymentRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateDeployment(context.Context, *UpdateDeploymentRequest) (*Deployment, error)
	// Delete a deployment resource in the API hub.
	DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*emptypb.Empty, error)
	// Create a user defined attribute.
	//
	// Certain pre defined attributes are already created by the API hub. These
	// attributes will have type as `SYSTEM_DEFINED` and can be listed via
	// [ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method.
	// Allowed values for the same can be updated via
	// [UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method.
	CreateAttribute(context.Context, *CreateAttributeRequest) (*Attribute, error)
	// Get details about the attribute.
	GetAttribute(context.Context, *GetAttributeRequest) (*Attribute, error)
	// Update the attribute.  The following fields in the
	// [Attribute resource][google.cloud.apihub.v1.Attribute] can be updated:
	//
	// * [display_name][google.cloud.apihub.v1.Attribute.display_name]
	// The display name can be updated for user defined attributes only.
	// * [description][google.cloud.apihub.v1.Attribute.description]
	// The description can be updated for user defined attributes only.
	// * [allowed_values][google.cloud.apihub.v1.Attribute.allowed_values]
	// To update the list of allowed values, clients need to use the fetched list
	// of allowed values and add or remove values to or from the same list.
	// The mutable allowed values can be updated for both user defined and System
	// defined attributes. The immutable allowed values cannot be updated or
	// deleted. The updated list of allowed values cannot be empty. If an allowed
	// value that is already used by some resource's attribute is deleted, then
	// the association between the resource and the attribute value will also be
	// deleted.
	// * [cardinality][google.cloud.apihub.v1.Attribute.cardinality]
	// The cardinality can be updated for user defined attributes only.
	// Cardinality can only be increased during an update.
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateAttributeRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateAttribute(context.Context, *UpdateAttributeRequest) (*Attribute, error)
	// Delete an attribute.
	//
	// Note: System defined attributes cannot be deleted. All
	// associations of the attribute being deleted with any API hub resource will
	// also get deleted.
	DeleteAttribute(context.Context, *DeleteAttributeRequest) (*emptypb.Empty, error)
	// List all attributes.
	ListAttributes(context.Context, *ListAttributesRequest) (*ListAttributesResponse, error)
	// Search across API-Hub resources.
	SearchResources(context.Context, *SearchResourcesRequest) (*SearchResourcesResponse, error)
	// Create an External API resource in the API hub.
	CreateExternalApi(context.Context, *CreateExternalApiRequest) (*ExternalApi, error)
	// Get details about an External API resource in the API hub.
	GetExternalApi(context.Context, *GetExternalApiRequest) (*ExternalApi, error)
	// Update an External API resource in the API hub. The following fields can be
	// updated:
	//
	// * [display_name][google.cloud.apihub.v1.ExternalApi.display_name]
	// * [description][google.cloud.apihub.v1.ExternalApi.description]
	// * [documentation][google.cloud.apihub.v1.ExternalApi.documentation]
	// * [endpoints][google.cloud.apihub.v1.ExternalApi.endpoints]
	// * [paths][google.cloud.apihub.v1.ExternalApi.paths]
	//
	// The
	// [update_mask][google.cloud.apihub.v1.UpdateExternalApiRequest.update_mask]
	// should be used to specify the fields being updated.
	UpdateExternalApi(context.Context, *UpdateExternalApiRequest) (*ExternalApi, error)
	// Delete an External API resource in the API hub.
	DeleteExternalApi(context.Context, *DeleteExternalApiRequest) (*emptypb.Empty, error)
	// List External API resources in the API hub.
	ListExternalApis(context.Context, *ListExternalApisRequest) (*ListExternalApisResponse, error)
}

ApiHubServer is the server API for ApiHub service. All implementations should embed UnimplementedApiHubServer for forward compatibility

type ApiMetadataList added in v0.2.0

type ApiMetadataList struct {

	// Required. The list of API metadata.
	ApiMetadata []*APIMetadata `protobuf:"bytes,1,rep,name=api_metadata,json=apiMetadata,proto3" json:"api_metadata,omitempty"`
	// contains filtered or unexported fields
}

The message to hold repeated API metadata.

func (*ApiMetadataList) Descriptor deprecated added in v0.2.0

func (*ApiMetadataList) Descriptor() ([]byte, []int)

Deprecated: Use ApiMetadataList.ProtoReflect.Descriptor instead.

func (*ApiMetadataList) GetApiMetadata added in v0.2.0

func (x *ApiMetadataList) GetApiMetadata() []*APIMetadata

func (*ApiMetadataList) ProtoMessage added in v0.2.0

func (*ApiMetadataList) ProtoMessage()

func (*ApiMetadataList) ProtoReflect added in v0.2.0

func (x *ApiMetadataList) ProtoReflect() protoreflect.Message

func (*ApiMetadataList) Reset added in v0.2.0

func (x *ApiMetadataList) Reset()

func (*ApiMetadataList) String added in v0.2.0

func (x *ApiMetadataList) String() string

type ApiOperation

type ApiOperation struct {

	// Identifier. The name of the operation.
	//
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The name of the spec will be of the format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	// Note:The name of the spec will be empty if the operation is created via
	// [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.
	Spec string `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// Optional. Operation details.
	// Note: Even though this field is optional, it is required for
	// [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
	// API and we will fail the request if not provided.
	Details *OperationDetails `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	// Output only. The time at which the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the operation was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The list of user defined attributes associated with the API
	// operation resource. The key is the attribute name. It will be of the
	// format: `projects/{project}/locations/{location}/attributes/{attribute}`.
	// The value is the attribute values associated with the resource.
	Attributes map[string]*AttributeValues `` /* 161-byte string literal not displayed */
	// Output only. The list of sources and metadata from the sources of the API
	// operation.
	SourceMetadata []*SourceMetadata `protobuf:"bytes,7,rep,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// contains filtered or unexported fields
}

Represents an operation contained in an API version in the API Hub. An operation is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, an operation will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Alternatively operations can be managed via create,update and delete APIs, creation of apiOperation can be possible only for version with no parsed operations and update/delete can be possible only for operations created via create API.

func (*ApiOperation) Descriptor deprecated

func (*ApiOperation) Descriptor() ([]byte, []int)

Deprecated: Use ApiOperation.ProtoReflect.Descriptor instead.

func (*ApiOperation) GetAttributes

func (x *ApiOperation) GetAttributes() map[string]*AttributeValues

func (*ApiOperation) GetCreateTime

func (x *ApiOperation) GetCreateTime() *timestamppb.Timestamp

func (*ApiOperation) GetDetails

func (x *ApiOperation) GetDetails() *OperationDetails

func (*ApiOperation) GetName

func (x *ApiOperation) GetName() string

func (*ApiOperation) GetSourceMetadata added in v0.2.0

func (x *ApiOperation) GetSourceMetadata() []*SourceMetadata

func (*ApiOperation) GetSpec

func (x *ApiOperation) GetSpec() string

func (*ApiOperation) GetUpdateTime

func (x *ApiOperation) GetUpdateTime() *timestamppb.Timestamp

func (*ApiOperation) ProtoMessage

func (*ApiOperation) ProtoMessage()

func (*ApiOperation) ProtoReflect

func (x *ApiOperation) ProtoReflect() protoreflect.Message

func (*ApiOperation) Reset

func (x *ApiOperation) Reset()

func (*ApiOperation) String

func (x *ApiOperation) String() string

type ApplicationIntegrationEndpointDetails added in v0.2.0

type ApplicationIntegrationEndpointDetails struct {

	// Required. The endpoint URI should be a valid REST URI for triggering an
	// Application Integration. Format:
	// `https://integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*}:execute`
	// or
	// `https://{location}-integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*}:execute`
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Required. The API trigger ID of the Application Integration workflow.
	TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
	// contains filtered or unexported fields
}

The details of the Application Integration endpoint to be triggered for curation.

func (*ApplicationIntegrationEndpointDetails) Descriptor deprecated added in v0.2.0

func (*ApplicationIntegrationEndpointDetails) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationIntegrationEndpointDetails.ProtoReflect.Descriptor instead.

func (*ApplicationIntegrationEndpointDetails) GetTriggerId added in v0.2.0

func (*ApplicationIntegrationEndpointDetails) GetUri added in v0.2.0

func (*ApplicationIntegrationEndpointDetails) ProtoMessage added in v0.2.0

func (*ApplicationIntegrationEndpointDetails) ProtoMessage()

func (*ApplicationIntegrationEndpointDetails) ProtoReflect added in v0.2.0

func (*ApplicationIntegrationEndpointDetails) Reset added in v0.2.0

func (*ApplicationIntegrationEndpointDetails) String added in v0.2.0

type Attribute

type Attribute struct {

	// Identifier. The name of the attribute in the API Hub.
	//
	// Format:
	// `projects/{project}/locations/{location}/attributes/{attribute}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the attribute.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The description of the attribute.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The definition type of the attribute.
	DefinitionType Attribute_DefinitionType `` /* 157-byte string literal not displayed */
	// Required. The scope of the attribute. It represents the resource in the API
	// Hub to which the attribute can be linked.
	Scope Attribute_Scope `protobuf:"varint,5,opt,name=scope,proto3,enum=google.cloud.apihub.v1.Attribute_Scope" json:"scope,omitempty"`
	// Required. The type of the data of the attribute.
	DataType Attribute_DataType `` /* 133-byte string literal not displayed */
	// Optional. The list of allowed values when the attribute value is of type
	// enum. This is required when the data_type of the attribute is ENUM. The
	// maximum number of allowed values of an attribute will be 1000.
	AllowedValues []*Attribute_AllowedValue `protobuf:"bytes,7,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
	// Optional. The maximum number of values that the attribute can have when
	// associated with an API Hub resource. Cardinality 1 would represent a
	// single-valued attribute. It must not be less than 1 or greater than 20. If
	// not specified, the cardinality would be set to 1 by default and represent a
	// single-valued attribute.
	Cardinality int32 `protobuf:"varint,8,opt,name=cardinality,proto3" json:"cardinality,omitempty"`
	// Output only. When mandatory is true, the attribute is mandatory for the
	// resource specified in the scope. Only System defined attributes can be
	// mandatory.
	Mandatory bool `protobuf:"varint,9,opt,name=mandatory,proto3" json:"mandatory,omitempty"`
	// Output only. The time at which the attribute was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the attribute was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

An attribute in the API Hub. An attribute is a name value pair which can be attached to different resources in the API hub based on the scope of the attribute. Attributes can either be pre-defined by the API Hub or created by users.

func (*Attribute) Descriptor deprecated

func (*Attribute) Descriptor() ([]byte, []int)

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetAllowedValues

func (x *Attribute) GetAllowedValues() []*Attribute_AllowedValue

func (*Attribute) GetCardinality

func (x *Attribute) GetCardinality() int32

func (*Attribute) GetCreateTime

func (x *Attribute) GetCreateTime() *timestamppb.Timestamp

func (*Attribute) GetDataType

func (x *Attribute) GetDataType() Attribute_DataType

func (*Attribute) GetDefinitionType

func (x *Attribute) GetDefinitionType() Attribute_DefinitionType

func (*Attribute) GetDescription

func (x *Attribute) GetDescription() string

func (*Attribute) GetDisplayName

func (x *Attribute) GetDisplayName() string

func (*Attribute) GetMandatory

func (x *Attribute) GetMandatory() bool

func (*Attribute) GetName

func (x *Attribute) GetName() string

func (*Attribute) GetScope

func (x *Attribute) GetScope() Attribute_Scope

func (*Attribute) GetUpdateTime

func (x *Attribute) GetUpdateTime() *timestamppb.Timestamp

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

func (x *Attribute) ProtoReflect() protoreflect.Message

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

type AttributeValues

type AttributeValues struct {

	// The attribute values associated with the resource.
	//
	// Types that are assignable to Value:
	//
	//	*AttributeValues_EnumValues
	//	*AttributeValues_StringValues
	//	*AttributeValues_JsonValues
	//	*AttributeValues_UriValues
	Value isAttributeValues_Value `protobuf_oneof:"Value"`
	// Output only. The name of the attribute.
	// Format: projects/{project}/locations/{location}/attributes/{attribute}
	Attribute string `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// contains filtered or unexported fields
}

The attribute values associated with resource.

func (*AttributeValues) Descriptor deprecated

func (*AttributeValues) Descriptor() ([]byte, []int)

Deprecated: Use AttributeValues.ProtoReflect.Descriptor instead.

func (*AttributeValues) GetAttribute

func (x *AttributeValues) GetAttribute() string

func (*AttributeValues) GetEnumValues

func (*AttributeValues) GetJsonValues

func (*AttributeValues) GetStringValues

func (*AttributeValues) GetUriValues added in v0.2.0

func (*AttributeValues) GetValue

func (m *AttributeValues) GetValue() isAttributeValues_Value

func (*AttributeValues) ProtoMessage

func (*AttributeValues) ProtoMessage()

func (*AttributeValues) ProtoReflect

func (x *AttributeValues) ProtoReflect() protoreflect.Message

func (*AttributeValues) Reset

func (x *AttributeValues) Reset()

func (*AttributeValues) String

func (x *AttributeValues) String() string

type AttributeValues_EnumAttributeValues

type AttributeValues_EnumAttributeValues struct {

	// Required. The attribute values in case attribute data type is enum.
	Values []*Attribute_AllowedValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

The attribute values of data type enum.

func (*AttributeValues_EnumAttributeValues) Descriptor deprecated

func (*AttributeValues_EnumAttributeValues) Descriptor() ([]byte, []int)

Deprecated: Use AttributeValues_EnumAttributeValues.ProtoReflect.Descriptor instead.

func (*AttributeValues_EnumAttributeValues) GetValues

func (*AttributeValues_EnumAttributeValues) ProtoMessage

func (*AttributeValues_EnumAttributeValues) ProtoMessage()

func (*AttributeValues_EnumAttributeValues) ProtoReflect

func (*AttributeValues_EnumAttributeValues) Reset

func (*AttributeValues_EnumAttributeValues) String

type AttributeValues_EnumValues

type AttributeValues_EnumValues struct {
	// The attribute values associated with a resource in case attribute data
	// type is enum.
	EnumValues *AttributeValues_EnumAttributeValues `protobuf:"bytes,2,opt,name=enum_values,json=enumValues,proto3,oneof"`
}

type AttributeValues_JsonValues

type AttributeValues_JsonValues struct {
	// The attribute values associated with a resource in case attribute data
	// type is JSON.
	JsonValues *AttributeValues_StringAttributeValues `protobuf:"bytes,4,opt,name=json_values,json=jsonValues,proto3,oneof"`
}

type AttributeValues_StringAttributeValues

type AttributeValues_StringAttributeValues struct {

	// Required. The attribute values in case attribute data type is string or
	// JSON.
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

The attribute values of data type string or JSON.

func (*AttributeValues_StringAttributeValues) Descriptor deprecated

func (*AttributeValues_StringAttributeValues) Descriptor() ([]byte, []int)

Deprecated: Use AttributeValues_StringAttributeValues.ProtoReflect.Descriptor instead.

func (*AttributeValues_StringAttributeValues) GetValues

func (*AttributeValues_StringAttributeValues) ProtoMessage

func (*AttributeValues_StringAttributeValues) ProtoMessage()

func (*AttributeValues_StringAttributeValues) ProtoReflect

func (*AttributeValues_StringAttributeValues) Reset

func (*AttributeValues_StringAttributeValues) String

type AttributeValues_StringValues

type AttributeValues_StringValues struct {
	// The attribute values associated with a resource in case attribute data
	// type is string.
	StringValues *AttributeValues_StringAttributeValues `protobuf:"bytes,3,opt,name=string_values,json=stringValues,proto3,oneof"`
}

type AttributeValues_UriValues added in v0.2.0

type AttributeValues_UriValues struct {
	// The attribute values associated with a resource in case attribute data
	// type is URL, URI or IP, like gs://bucket-name/object-name.
	UriValues *AttributeValues_StringAttributeValues `protobuf:"bytes,5,opt,name=uri_values,json=uriValues,proto3,oneof"`
}

type Attribute_AllowedValue

type Attribute_AllowedValue struct {

	// Required. The ID of the allowed value.
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another allowed value in the same
	// attribute resource.
	// * If not provided, a system generated id derived from the display name
	// will be used. In this case, the service will handle conflict resolution
	// by adding a system generated suffix in case of duplicates.
	//
	// This value should be 4-63 characters, and valid characters
	// are /[a-z][0-9]-/.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. The display name of the allowed value.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The detailed description of the allowed value.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. When set to true, the allowed value cannot be updated or
	// deleted by the user. It can only be true for System defined attributes.
	Immutable bool `protobuf:"varint,4,opt,name=immutable,proto3" json:"immutable,omitempty"`
	// contains filtered or unexported fields
}

The value that can be assigned to the attribute when the data type is enum.

func (*Attribute_AllowedValue) Descriptor deprecated

func (*Attribute_AllowedValue) Descriptor() ([]byte, []int)

Deprecated: Use Attribute_AllowedValue.ProtoReflect.Descriptor instead.

func (*Attribute_AllowedValue) GetDescription

func (x *Attribute_AllowedValue) GetDescription() string

func (*Attribute_AllowedValue) GetDisplayName

func (x *Attribute_AllowedValue) GetDisplayName() string

func (*Attribute_AllowedValue) GetId

func (x *Attribute_AllowedValue) GetId() string

func (*Attribute_AllowedValue) GetImmutable

func (x *Attribute_AllowedValue) GetImmutable() bool

func (*Attribute_AllowedValue) ProtoMessage

func (*Attribute_AllowedValue) ProtoMessage()

func (*Attribute_AllowedValue) ProtoReflect

func (x *Attribute_AllowedValue) ProtoReflect() protoreflect.Message

func (*Attribute_AllowedValue) Reset

func (x *Attribute_AllowedValue) Reset()

func (*Attribute_AllowedValue) String

func (x *Attribute_AllowedValue) String() string

type Attribute_DataType

type Attribute_DataType int32

Enumeration of attribute's data type.

const (
	// Attribute data type unspecified.
	Attribute_DATA_TYPE_UNSPECIFIED Attribute_DataType = 0
	// Attribute's value is of type enum.
	Attribute_ENUM Attribute_DataType = 1
	// Attribute's value is of type json.
	Attribute_JSON Attribute_DataType = 2
	// Attribute's value is of type string.
	Attribute_STRING Attribute_DataType = 3
	// Attribute's value is of type uri.
	Attribute_URI Attribute_DataType = 4
)

func (Attribute_DataType) Descriptor

func (Attribute_DataType) Enum

func (Attribute_DataType) EnumDescriptor deprecated

func (Attribute_DataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Attribute_DataType.Descriptor instead.

func (Attribute_DataType) Number

func (Attribute_DataType) String

func (x Attribute_DataType) String() string

func (Attribute_DataType) Type

type Attribute_DefinitionType

type Attribute_DefinitionType int32

Enumeration of attribute definition types.

const (
	// Attribute definition type unspecified.
	Attribute_DEFINITION_TYPE_UNSPECIFIED Attribute_DefinitionType = 0
	// The attribute is predefined by the API Hub. Note that only the list of
	// allowed values can be updated in this case via UpdateAttribute method.
	Attribute_SYSTEM_DEFINED Attribute_DefinitionType = 1
	// The attribute is defined by the user.
	Attribute_USER_DEFINED Attribute_DefinitionType = 2
)

func (Attribute_DefinitionType) Descriptor

func (Attribute_DefinitionType) Enum

func (Attribute_DefinitionType) EnumDescriptor deprecated

func (Attribute_DefinitionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Attribute_DefinitionType.Descriptor instead.

func (Attribute_DefinitionType) Number

func (Attribute_DefinitionType) String

func (x Attribute_DefinitionType) String() string

func (Attribute_DefinitionType) Type

type Attribute_Scope

type Attribute_Scope int32

Enumeration for the scope of the attribute representing the resource in the API Hub to which the attribute can be linked.

const (
	// Scope Unspecified.
	Attribute_SCOPE_UNSPECIFIED Attribute_Scope = 0
	// Attribute can be linked to an API.
	Attribute_API Attribute_Scope = 1
	// Attribute can be linked to an API version.
	Attribute_VERSION Attribute_Scope = 2
	// Attribute can be linked to a Spec.
	Attribute_SPEC Attribute_Scope = 3
	// Attribute can be linked to an API Operation.
	Attribute_API_OPERATION Attribute_Scope = 4
	// Attribute can be linked to a Deployment.
	Attribute_DEPLOYMENT Attribute_Scope = 5
	// Attribute can be linked to a Dependency.
	Attribute_DEPENDENCY Attribute_Scope = 6
	// Attribute can be linked to a definition.
	Attribute_DEFINITION Attribute_Scope = 7
	// Attribute can be linked to a ExternalAPI.
	Attribute_EXTERNAL_API Attribute_Scope = 8
	// Attribute can be linked to a Plugin.
	Attribute_PLUGIN Attribute_Scope = 9
)

func (Attribute_Scope) Descriptor

func (Attribute_Scope) Enum

func (x Attribute_Scope) Enum() *Attribute_Scope

func (Attribute_Scope) EnumDescriptor deprecated

func (Attribute_Scope) EnumDescriptor() ([]byte, []int)

Deprecated: Use Attribute_Scope.Descriptor instead.

func (Attribute_Scope) Number

func (Attribute_Scope) String

func (x Attribute_Scope) String() string

func (Attribute_Scope) Type

type AuthConfig added in v0.2.0

type AuthConfig struct {

	// Supported auth types.
	//
	// Types that are assignable to Config:
	//
	//	*AuthConfig_GoogleServiceAccountConfig
	//	*AuthConfig_UserPasswordConfig_
	//	*AuthConfig_ApiKeyConfig_
	//	*AuthConfig_Oauth2ClientCredentialsConfig_
	Config isAuthConfig_Config `protobuf_oneof:"config"`
	// Required. The authentication type.
	AuthType AuthType `protobuf:"varint,1,opt,name=auth_type,json=authType,proto3,enum=google.cloud.apihub.v1.AuthType" json:"auth_type,omitempty"`
	// contains filtered or unexported fields
}

AuthConfig represents the authentication information.

func (*AuthConfig) Descriptor deprecated added in v0.2.0

func (*AuthConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig.ProtoReflect.Descriptor instead.

func (*AuthConfig) GetApiKeyConfig added in v0.2.0

func (x *AuthConfig) GetApiKeyConfig() *AuthConfig_ApiKeyConfig

func (*AuthConfig) GetAuthType added in v0.2.0

func (x *AuthConfig) GetAuthType() AuthType

func (*AuthConfig) GetConfig added in v0.2.0

func (m *AuthConfig) GetConfig() isAuthConfig_Config

func (*AuthConfig) GetGoogleServiceAccountConfig added in v0.2.0

func (x *AuthConfig) GetGoogleServiceAccountConfig() *GoogleServiceAccountConfig

func (*AuthConfig) GetOauth2ClientCredentialsConfig added in v0.2.0

func (x *AuthConfig) GetOauth2ClientCredentialsConfig() *AuthConfig_Oauth2ClientCredentialsConfig

func (*AuthConfig) GetUserPasswordConfig added in v0.2.0

func (x *AuthConfig) GetUserPasswordConfig() *AuthConfig_UserPasswordConfig

func (*AuthConfig) ProtoMessage added in v0.2.0

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) ProtoReflect added in v0.2.0

func (x *AuthConfig) ProtoReflect() protoreflect.Message

func (*AuthConfig) Reset added in v0.2.0

func (x *AuthConfig) Reset()

func (*AuthConfig) String added in v0.2.0

func (x *AuthConfig) String() string

type AuthConfig_ApiKeyConfig added in v0.2.0

type AuthConfig_ApiKeyConfig struct {

	// Required. The parameter name of the API key.
	// E.g. If the API request is "https://example.com/act?api_key=<API KEY>",
	// "api_key" would be the parameter name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The name of the SecretManager secret version resource storing
	// the API key. Format:
	// `projects/{project}/secrets/{secrete}/versions/{version}`. The
	// `secretmanager.versions.access` permission should be granted to the
	// service account accessing the secret.
	ApiKey *Secret `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// Required. The location of the API key.
	// The default value is QUERY.
	HttpElementLocation AuthConfig_ApiKeyConfig_HttpElementLocation `` /* 193-byte string literal not displayed */
	// contains filtered or unexported fields
}

Config for authentication with API key.

func (*AuthConfig_ApiKeyConfig) Descriptor deprecated added in v0.2.0

func (*AuthConfig_ApiKeyConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig_ApiKeyConfig.ProtoReflect.Descriptor instead.

func (*AuthConfig_ApiKeyConfig) GetApiKey added in v0.2.0

func (x *AuthConfig_ApiKeyConfig) GetApiKey() *Secret

func (*AuthConfig_ApiKeyConfig) GetHttpElementLocation added in v0.2.0

func (*AuthConfig_ApiKeyConfig) GetName added in v0.2.0

func (x *AuthConfig_ApiKeyConfig) GetName() string

func (*AuthConfig_ApiKeyConfig) ProtoMessage added in v0.2.0

func (*AuthConfig_ApiKeyConfig) ProtoMessage()

func (*AuthConfig_ApiKeyConfig) ProtoReflect added in v0.2.0

func (x *AuthConfig_ApiKeyConfig) ProtoReflect() protoreflect.Message

func (*AuthConfig_ApiKeyConfig) Reset added in v0.2.0

func (x *AuthConfig_ApiKeyConfig) Reset()

func (*AuthConfig_ApiKeyConfig) String added in v0.2.0

func (x *AuthConfig_ApiKeyConfig) String() string

type AuthConfig_ApiKeyConfig_ added in v0.2.0

type AuthConfig_ApiKeyConfig_ struct {
	// Api Key Config.
	ApiKeyConfig *AuthConfig_ApiKeyConfig `protobuf:"bytes,4,opt,name=api_key_config,json=apiKeyConfig,proto3,oneof"`
}

type AuthConfig_ApiKeyConfig_HttpElementLocation added in v0.2.0

type AuthConfig_ApiKeyConfig_HttpElementLocation int32

Enum of location an HTTP element can be.

const (
	// HTTP element location not specified.
	AuthConfig_ApiKeyConfig_HTTP_ELEMENT_LOCATION_UNSPECIFIED AuthConfig_ApiKeyConfig_HttpElementLocation = 0
	// Element is in the HTTP request query.
	AuthConfig_ApiKeyConfig_QUERY AuthConfig_ApiKeyConfig_HttpElementLocation = 1
	// Element is in the HTTP request header.
	AuthConfig_ApiKeyConfig_HEADER AuthConfig_ApiKeyConfig_HttpElementLocation = 2
	// Element is in the HTTP request path.
	AuthConfig_ApiKeyConfig_PATH AuthConfig_ApiKeyConfig_HttpElementLocation = 3
	// Element is in the HTTP request body.
	AuthConfig_ApiKeyConfig_BODY AuthConfig_ApiKeyConfig_HttpElementLocation = 4
	// Element is in the HTTP request cookie.
	AuthConfig_ApiKeyConfig_COOKIE AuthConfig_ApiKeyConfig_HttpElementLocation = 5
)

func (AuthConfig_ApiKeyConfig_HttpElementLocation) Descriptor added in v0.2.0

func (AuthConfig_ApiKeyConfig_HttpElementLocation) Enum added in v0.2.0

func (AuthConfig_ApiKeyConfig_HttpElementLocation) EnumDescriptor deprecated added in v0.2.0

func (AuthConfig_ApiKeyConfig_HttpElementLocation) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthConfig_ApiKeyConfig_HttpElementLocation.Descriptor instead.

func (AuthConfig_ApiKeyConfig_HttpElementLocation) Number added in v0.2.0

func (AuthConfig_ApiKeyConfig_HttpElementLocation) String added in v0.2.0

func (AuthConfig_ApiKeyConfig_HttpElementLocation) Type added in v0.2.0

type AuthConfig_GoogleServiceAccountConfig added in v0.2.0

type AuthConfig_GoogleServiceAccountConfig struct {
	// Google Service Account.
	GoogleServiceAccountConfig *GoogleServiceAccountConfig `protobuf:"bytes,2,opt,name=google_service_account_config,json=googleServiceAccountConfig,proto3,oneof"`
}

type AuthConfig_Oauth2ClientCredentialsConfig added in v0.2.0

type AuthConfig_Oauth2ClientCredentialsConfig struct {

	// Required. The client identifier.
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Required. Secret version reference containing the client secret.
	// The `secretmanager.versions.access` permission should be
	// granted to the service account accessing the secret.
	ClientSecret *Secret `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

Parameters to support Oauth 2.0 client credentials grant authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.

func (*AuthConfig_Oauth2ClientCredentialsConfig) Descriptor deprecated added in v0.2.0

func (*AuthConfig_Oauth2ClientCredentialsConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig_Oauth2ClientCredentialsConfig.ProtoReflect.Descriptor instead.

func (*AuthConfig_Oauth2ClientCredentialsConfig) GetClientId added in v0.2.0

func (*AuthConfig_Oauth2ClientCredentialsConfig) GetClientSecret added in v0.2.0

func (x *AuthConfig_Oauth2ClientCredentialsConfig) GetClientSecret() *Secret

func (*AuthConfig_Oauth2ClientCredentialsConfig) ProtoMessage added in v0.2.0

func (*AuthConfig_Oauth2ClientCredentialsConfig) ProtoReflect added in v0.2.0

func (*AuthConfig_Oauth2ClientCredentialsConfig) Reset added in v0.2.0

func (*AuthConfig_Oauth2ClientCredentialsConfig) String added in v0.2.0

type AuthConfig_Oauth2ClientCredentialsConfig_ added in v0.2.0

type AuthConfig_Oauth2ClientCredentialsConfig_ struct {
	// Oauth2.0 Client Credentials.
	Oauth2ClientCredentialsConfig *AuthConfig_Oauth2ClientCredentialsConfig `protobuf:"bytes,5,opt,name=oauth2_client_credentials_config,json=oauth2ClientCredentialsConfig,proto3,oneof"`
}

type AuthConfig_UserPasswordConfig added in v0.2.0

type AuthConfig_UserPasswordConfig struct {

	// Required. Username.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Required. Secret version reference containing the password.
	// The `secretmanager.versions.access` permission should be
	// granted to the service account accessing the secret.
	Password *Secret `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

Parameters to support Username and Password Authentication.

func (*AuthConfig_UserPasswordConfig) Descriptor deprecated added in v0.2.0

func (*AuthConfig_UserPasswordConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig_UserPasswordConfig.ProtoReflect.Descriptor instead.

func (*AuthConfig_UserPasswordConfig) GetPassword added in v0.2.0

func (x *AuthConfig_UserPasswordConfig) GetPassword() *Secret

func (*AuthConfig_UserPasswordConfig) GetUsername added in v0.2.0

func (x *AuthConfig_UserPasswordConfig) GetUsername() string

func (*AuthConfig_UserPasswordConfig) ProtoMessage added in v0.2.0

func (*AuthConfig_UserPasswordConfig) ProtoMessage()

func (*AuthConfig_UserPasswordConfig) ProtoReflect added in v0.2.0

func (*AuthConfig_UserPasswordConfig) Reset added in v0.2.0

func (x *AuthConfig_UserPasswordConfig) Reset()

func (*AuthConfig_UserPasswordConfig) String added in v0.2.0

type AuthConfig_UserPasswordConfig_ added in v0.2.0

type AuthConfig_UserPasswordConfig_ struct {
	// User Password.
	UserPasswordConfig *AuthConfig_UserPasswordConfig `protobuf:"bytes,3,opt,name=user_password_config,json=userPasswordConfig,proto3,oneof"`
}

type AuthType added in v0.2.0

type AuthType int32

AuthType represents the authentication type.

const (
	// Authentication type not specified.
	AuthType_AUTH_TYPE_UNSPECIFIED AuthType = 0
	// No authentication.
	AuthType_NO_AUTH AuthType = 1
	// Google service account authentication.
	AuthType_GOOGLE_SERVICE_ACCOUNT AuthType = 2
	// Username and password authentication.
	AuthType_USER_PASSWORD AuthType = 3
	// API Key authentication.
	AuthType_API_KEY AuthType = 4
	// Oauth 2.0 client credentials grant authentication.
	AuthType_OAUTH2_CLIENT_CREDENTIALS AuthType = 5
)

func (AuthType) Descriptor added in v0.2.0

func (AuthType) Descriptor() protoreflect.EnumDescriptor

func (AuthType) Enum added in v0.2.0

func (x AuthType) Enum() *AuthType

func (AuthType) EnumDescriptor deprecated added in v0.2.0

func (AuthType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthType.Descriptor instead.

func (AuthType) Number added in v0.2.0

func (x AuthType) Number() protoreflect.EnumNumber

func (AuthType) String added in v0.2.0

func (x AuthType) String() string

func (AuthType) Type added in v0.2.0

type CollectApiDataRequest added in v0.2.0

type CollectApiDataRequest struct {

	// Required. The regional location of the API hub instance and its resources.
	// Format: `projects/{project}/locations/{location}`
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// Required. The type of collection. Applies to all entries in
	// [api_data][google.cloud.apihub.v1.CollectApiDataRequest.api_data].
	CollectionType CollectionType `` /* 147-byte string literal not displayed */
	// Required. The plugin instance collecting the API data.
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`.
	PluginInstance string `protobuf:"bytes,3,opt,name=plugin_instance,json=pluginInstance,proto3" json:"plugin_instance,omitempty"`
	// Required. The action ID to be used for collecting the API data.
	// This should map to one of the action IDs specified
	// in action configs in the plugin.
	ActionId string `protobuf:"bytes,4,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// Required. The API data to be collected.
	ApiData *ApiData `protobuf:"bytes,5,opt,name=api_data,json=apiData,proto3" json:"api_data,omitempty"`
	// contains filtered or unexported fields
}

The CollectApiData method's request.

func (*CollectApiDataRequest) Descriptor deprecated added in v0.2.0

func (*CollectApiDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use CollectApiDataRequest.ProtoReflect.Descriptor instead.

func (*CollectApiDataRequest) GetActionId added in v0.2.0

func (x *CollectApiDataRequest) GetActionId() string

func (*CollectApiDataRequest) GetApiData added in v0.2.0

func (x *CollectApiDataRequest) GetApiData() *ApiData

func (*CollectApiDataRequest) GetCollectionType added in v0.2.0

func (x *CollectApiDataRequest) GetCollectionType() CollectionType

func (*CollectApiDataRequest) GetLocation added in v0.2.0

func (x *CollectApiDataRequest) GetLocation() string

func (*CollectApiDataRequest) GetPluginInstance added in v0.2.0

func (x *CollectApiDataRequest) GetPluginInstance() string

func (*CollectApiDataRequest) ProtoMessage added in v0.2.0

func (*CollectApiDataRequest) ProtoMessage()

func (*CollectApiDataRequest) ProtoReflect added in v0.2.0

func (x *CollectApiDataRequest) ProtoReflect() protoreflect.Message

func (*CollectApiDataRequest) Reset added in v0.2.0

func (x *CollectApiDataRequest) Reset()

func (*CollectApiDataRequest) String added in v0.2.0

func (x *CollectApiDataRequest) String() string

type CollectApiDataResponse added in v0.2.0

type CollectApiDataResponse struct {
	// contains filtered or unexported fields
}

The CollectApiData method's response.

func (*CollectApiDataResponse) Descriptor deprecated added in v0.2.0

func (*CollectApiDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use CollectApiDataResponse.ProtoReflect.Descriptor instead.

func (*CollectApiDataResponse) ProtoMessage added in v0.2.0

func (*CollectApiDataResponse) ProtoMessage()

func (*CollectApiDataResponse) ProtoReflect added in v0.2.0

func (x *CollectApiDataResponse) ProtoReflect() protoreflect.Message

func (*CollectApiDataResponse) Reset added in v0.2.0

func (x *CollectApiDataResponse) Reset()

func (*CollectApiDataResponse) String added in v0.2.0

func (x *CollectApiDataResponse) String() string

type CollectionType added in v0.2.0

type CollectionType int32

The type of the collect request.

const (
	// The default value. This value is used if the collection type is omitted.
	CollectionType_COLLECTION_TYPE_UNSPECIFIED CollectionType = 0
	// The collection type is upsert. This should be used when an API is created
	// or updated at the source.
	CollectionType_COLLECTION_TYPE_UPSERT CollectionType = 1
	// The collection type is delete. This should be used when an API is deleted
	// at the source.
	CollectionType_COLLECTION_TYPE_DELETE CollectionType = 2
)

func (CollectionType) Descriptor added in v0.2.0

func (CollectionType) Enum added in v0.2.0

func (x CollectionType) Enum() *CollectionType

func (CollectionType) EnumDescriptor deprecated added in v0.2.0

func (CollectionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CollectionType.Descriptor instead.

func (CollectionType) Number added in v0.2.0

func (CollectionType) String added in v0.2.0

func (x CollectionType) String() string

func (CollectionType) Type added in v0.2.0

type ConfigValueOption added in v0.2.0

type ConfigValueOption struct {

	// Required. Id of the option.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. Display name of the option.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. Description of the option.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ConfigValueOption represents an option for a config variable of type enum or multi select.

func (*ConfigValueOption) Descriptor deprecated added in v0.2.0

func (*ConfigValueOption) Descriptor() ([]byte, []int)

Deprecated: Use ConfigValueOption.ProtoReflect.Descriptor instead.

func (*ConfigValueOption) GetDescription added in v0.2.0

func (x *ConfigValueOption) GetDescription() string

func (*ConfigValueOption) GetDisplayName added in v0.2.0

func (x *ConfigValueOption) GetDisplayName() string

func (*ConfigValueOption) GetId added in v0.2.0

func (x *ConfigValueOption) GetId() string

func (*ConfigValueOption) ProtoMessage added in v0.2.0

func (*ConfigValueOption) ProtoMessage()

func (*ConfigValueOption) ProtoReflect added in v0.2.0

func (x *ConfigValueOption) ProtoReflect() protoreflect.Message

func (*ConfigValueOption) Reset added in v0.2.0

func (x *ConfigValueOption) Reset()

func (*ConfigValueOption) String added in v0.2.0

func (x *ConfigValueOption) String() string

type ConfigVariable added in v0.2.0

type ConfigVariable struct {

	// The values associated with the config variable.
	//
	// Types that are assignable to Value:
	//
	//	*ConfigVariable_StringValue
	//	*ConfigVariable_IntValue
	//	*ConfigVariable_BoolValue
	//	*ConfigVariable_SecretValue
	//	*ConfigVariable_EnumValue
	//	*ConfigVariable_MultiSelectValues_
	//	*ConfigVariable_MultiStringValues_
	//	*ConfigVariable_MultiIntValues_
	Value isConfigVariable_Value `protobuf_oneof:"value"`
	// Output only. Key will be the
	// [id][google.cloud.apihub.v1.ConfigVariableTemplate.id] to uniquely identify
	// the config variable.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.

func (*ConfigVariable) Descriptor deprecated added in v0.2.0

func (*ConfigVariable) Descriptor() ([]byte, []int)

Deprecated: Use ConfigVariable.ProtoReflect.Descriptor instead.

func (*ConfigVariable) GetBoolValue added in v0.2.0

func (x *ConfigVariable) GetBoolValue() bool

func (*ConfigVariable) GetEnumValue added in v0.2.0

func (x *ConfigVariable) GetEnumValue() *ConfigValueOption

func (*ConfigVariable) GetIntValue added in v0.2.0

func (x *ConfigVariable) GetIntValue() int64

func (*ConfigVariable) GetKey added in v0.2.0

func (x *ConfigVariable) GetKey() string

func (*ConfigVariable) GetMultiIntValues added in v0.2.0

func (x *ConfigVariable) GetMultiIntValues() *ConfigVariable_MultiIntValues

func (*ConfigVariable) GetMultiSelectValues added in v0.2.0

func (x *ConfigVariable) GetMultiSelectValues() *ConfigVariable_MultiSelectValues

func (*ConfigVariable) GetMultiStringValues added in v0.2.0

func (x *ConfigVariable) GetMultiStringValues() *ConfigVariable_MultiStringValues

func (*ConfigVariable) GetSecretValue added in v0.2.0

func (x *ConfigVariable) GetSecretValue() *Secret

func (*ConfigVariable) GetStringValue added in v0.2.0

func (x *ConfigVariable) GetStringValue() string

func (*ConfigVariable) GetValue added in v0.2.0

func (m *ConfigVariable) GetValue() isConfigVariable_Value

func (*ConfigVariable) ProtoMessage added in v0.2.0

func (*ConfigVariable) ProtoMessage()

func (*ConfigVariable) ProtoReflect added in v0.2.0

func (x *ConfigVariable) ProtoReflect() protoreflect.Message

func (*ConfigVariable) Reset added in v0.2.0

func (x *ConfigVariable) Reset()

func (*ConfigVariable) String added in v0.2.0

func (x *ConfigVariable) String() string

type ConfigVariableTemplate added in v0.2.0

type ConfigVariableTemplate struct {

	// Required. ID of the config variable. Must be unique within the
	// configuration.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. Type of the parameter: string, int, bool etc.
	ValueType ConfigVariableTemplate_ValueType `` /* 150-byte string literal not displayed */
	// Optional. Description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. Regular expression in RE2 syntax used for validating the `value`
	// of a `ConfigVariable`.
	ValidationRegex string `protobuf:"bytes,4,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"`
	// Optional. Flag represents that this `ConfigVariable` must be provided for a
	// PluginInstance.
	Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
	// Optional. Enum options. To be populated if `ValueType` is `ENUM`.
	EnumOptions []*ConfigValueOption `protobuf:"bytes,6,rep,name=enum_options,json=enumOptions,proto3" json:"enum_options,omitempty"`
	// Optional. Multi select options. To be populated if `ValueType` is
	// `MULTI_SELECT`.
	MultiSelectOptions []*ConfigValueOption `protobuf:"bytes,7,rep,name=multi_select_options,json=multiSelectOptions,proto3" json:"multi_select_options,omitempty"`
	// contains filtered or unexported fields
}

ConfigVariableTemplate represents a configuration variable template present in a Plugin Config.

func (*ConfigVariableTemplate) Descriptor deprecated added in v0.2.0

func (*ConfigVariableTemplate) Descriptor() ([]byte, []int)

Deprecated: Use ConfigVariableTemplate.ProtoReflect.Descriptor instead.

func (*ConfigVariableTemplate) GetDescription added in v0.2.0

func (x *ConfigVariableTemplate) GetDescription() string

func (*ConfigVariableTemplate) GetEnumOptions added in v0.2.0

func (x *ConfigVariableTemplate) GetEnumOptions() []*ConfigValueOption

func (*ConfigVariableTemplate) GetId added in v0.2.0

func (x *ConfigVariableTemplate) GetId() string

func (*ConfigVariableTemplate) GetMultiSelectOptions added in v0.2.0

func (x *ConfigVariableTemplate) GetMultiSelectOptions() []*ConfigValueOption

func (*ConfigVariableTemplate) GetRequired added in v0.2.0

func (x *ConfigVariableTemplate) GetRequired() bool

func (*ConfigVariableTemplate) GetValidationRegex added in v0.2.0

func (x *ConfigVariableTemplate) GetValidationRegex() string

func (*ConfigVariableTemplate) GetValueType added in v0.2.0

func (*ConfigVariableTemplate) ProtoMessage added in v0.2.0

func (*ConfigVariableTemplate) ProtoMessage()

func (*ConfigVariableTemplate) ProtoReflect added in v0.2.0

func (x *ConfigVariableTemplate) ProtoReflect() protoreflect.Message

func (*ConfigVariableTemplate) Reset added in v0.2.0

func (x *ConfigVariableTemplate) Reset()

func (*ConfigVariableTemplate) String added in v0.2.0

func (x *ConfigVariableTemplate) String() string

type ConfigVariableTemplate_ValueType added in v0.2.0

type ConfigVariableTemplate_ValueType int32

ValueType indicates the data type of the value.

const (
	// Value type is not specified.
	ConfigVariableTemplate_VALUE_TYPE_UNSPECIFIED ConfigVariableTemplate_ValueType = 0
	// Value type is string.
	ConfigVariableTemplate_STRING ConfigVariableTemplate_ValueType = 1
	// Value type is integer.
	ConfigVariableTemplate_INT ConfigVariableTemplate_ValueType = 2
	// Value type is boolean.
	ConfigVariableTemplate_BOOL ConfigVariableTemplate_ValueType = 3
	// Value type is secret.
	ConfigVariableTemplate_SECRET ConfigVariableTemplate_ValueType = 4
	// Value type is enum.
	ConfigVariableTemplate_ENUM ConfigVariableTemplate_ValueType = 5
	// Value type is multi select.
	ConfigVariableTemplate_MULTI_SELECT ConfigVariableTemplate_ValueType = 6
	// Value type is multi string.
	ConfigVariableTemplate_MULTI_STRING ConfigVariableTemplate_ValueType = 7
	// Value type is multi int.
	ConfigVariableTemplate_MULTI_INT ConfigVariableTemplate_ValueType = 8
)

func (ConfigVariableTemplate_ValueType) Descriptor added in v0.2.0

func (ConfigVariableTemplate_ValueType) Enum added in v0.2.0

func (ConfigVariableTemplate_ValueType) EnumDescriptor deprecated added in v0.2.0

func (ConfigVariableTemplate_ValueType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConfigVariableTemplate_ValueType.Descriptor instead.

func (ConfigVariableTemplate_ValueType) Number added in v0.2.0

func (ConfigVariableTemplate_ValueType) String added in v0.2.0

func (ConfigVariableTemplate_ValueType) Type added in v0.2.0

type ConfigVariable_BoolValue added in v0.2.0

type ConfigVariable_BoolValue struct {
	// Optional. The config variable value in case of config variable of type
	// boolean.
	BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type ConfigVariable_EnumValue added in v0.2.0

type ConfigVariable_EnumValue struct {
	// Optional. The config variable value in case of config variable of type
	// enum.
	EnumValue *ConfigValueOption `protobuf:"bytes,6,opt,name=enum_value,json=enumValue,proto3,oneof"`
}

type ConfigVariable_IntValue added in v0.2.0

type ConfigVariable_IntValue struct {
	// Optional. The config variable value in case of config variable of type
	// integer.
	IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
}

type ConfigVariable_MultiIntValues added in v0.2.0

type ConfigVariable_MultiIntValues struct {

	// Optional. The config variable value of data type multi int.
	Values []int32 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

The config variable value of data type multi int.

func (*ConfigVariable_MultiIntValues) Descriptor deprecated added in v0.2.0

func (*ConfigVariable_MultiIntValues) Descriptor() ([]byte, []int)

Deprecated: Use ConfigVariable_MultiIntValues.ProtoReflect.Descriptor instead.

func (*ConfigVariable_MultiIntValues) GetValues added in v0.2.0

func (x *ConfigVariable_MultiIntValues) GetValues() []int32

func (*ConfigVariable_MultiIntValues) ProtoMessage added in v0.2.0

func (*ConfigVariable_MultiIntValues) ProtoMessage()

func (*ConfigVariable_MultiIntValues) ProtoReflect added in v0.2.0

func (*ConfigVariable_MultiIntValues) Reset added in v0.2.0

func (x *ConfigVariable_MultiIntValues) Reset()

func (*ConfigVariable_MultiIntValues) String added in v0.2.0

type ConfigVariable_MultiIntValues_ added in v0.2.0

type ConfigVariable_MultiIntValues_ struct {
	// Optional. The config variable value in case of config variable of type
	// multi integer.
	MultiIntValues *ConfigVariable_MultiIntValues `protobuf:"bytes,9,opt,name=multi_int_values,json=multiIntValues,proto3,oneof"`
}

type ConfigVariable_MultiSelectValues added in v0.2.0

type ConfigVariable_MultiSelectValues struct {

	// Optional. The config variable value of data type multi select.
	Values []*ConfigValueOption `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

The config variable value of data type multi select.

func (*ConfigVariable_MultiSelectValues) Descriptor deprecated added in v0.2.0

func (*ConfigVariable_MultiSelectValues) Descriptor() ([]byte, []int)

Deprecated: Use ConfigVariable_MultiSelectValues.ProtoReflect.Descriptor instead.

func (*ConfigVariable_MultiSelectValues) GetValues added in v0.2.0

func (*ConfigVariable_MultiSelectValues) ProtoMessage added in v0.2.0

func (*ConfigVariable_MultiSelectValues) ProtoMessage()

func (*ConfigVariable_MultiSelectValues) ProtoReflect added in v0.2.0

func (*ConfigVariable_MultiSelectValues) Reset added in v0.2.0

func (*ConfigVariable_MultiSelectValues) String added in v0.2.0

type ConfigVariable_MultiSelectValues_ added in v0.2.0

type ConfigVariable_MultiSelectValues_ struct {
	// Optional. The config variable value in case of config variable of type
	// multi select.
	MultiSelectValues *ConfigVariable_MultiSelectValues `protobuf:"bytes,7,opt,name=multi_select_values,json=multiSelectValues,proto3,oneof"`
}

type ConfigVariable_MultiStringValues added in v0.2.0

type ConfigVariable_MultiStringValues struct {

	// Optional. The config variable value of data type multi string.
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

The config variable value of data type multi string.

func (*ConfigVariable_MultiStringValues) Descriptor deprecated added in v0.2.0

func (*ConfigVariable_MultiStringValues) Descriptor() ([]byte, []int)

Deprecated: Use ConfigVariable_MultiStringValues.ProtoReflect.Descriptor instead.

func (*ConfigVariable_MultiStringValues) GetValues added in v0.2.0

func (x *ConfigVariable_MultiStringValues) GetValues() []string

func (*ConfigVariable_MultiStringValues) ProtoMessage added in v0.2.0

func (*ConfigVariable_MultiStringValues) ProtoMessage()

func (*ConfigVariable_MultiStringValues) ProtoReflect added in v0.2.0

func (*ConfigVariable_MultiStringValues) Reset added in v0.2.0

func (*ConfigVariable_MultiStringValues) String added in v0.2.0

type ConfigVariable_MultiStringValues_ added in v0.2.0

type ConfigVariable_MultiStringValues_ struct {
	// Optional. The config variable value in case of config variable of type
	// multi string.
	MultiStringValues *ConfigVariable_MultiStringValues `protobuf:"bytes,8,opt,name=multi_string_values,json=multiStringValues,proto3,oneof"`
}

type ConfigVariable_SecretValue added in v0.2.0

type ConfigVariable_SecretValue struct {
	// Optional. The config variable value in case of config variable of type
	// secret.
	SecretValue *Secret `protobuf:"bytes,5,opt,name=secret_value,json=secretValue,proto3,oneof"`
}

type ConfigVariable_StringValue added in v0.2.0

type ConfigVariable_StringValue struct {
	// Optional. The config variable value in case of config variable of type
	// string.
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type CreateApiHubInstanceRequest

type CreateApiHubInstanceRequest struct {

	// Required. The parent resource for the Api Hub instance resource.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Identifier to assign to the Api Hub instance. Must be unique
	// within scope of the parent resource. If the field is not provided, system
	// generated id will be used.
	//
	// This value should be 4-40 characters, and valid characters
	// are `/[a-z][A-Z][0-9]-_/`.
	ApiHubInstanceId string `protobuf:"bytes,2,opt,name=api_hub_instance_id,json=apiHubInstanceId,proto3" json:"api_hub_instance_id,omitempty"`
	// Required. The ApiHub instance.
	ApiHubInstance *ApiHubInstance `protobuf:"bytes,3,opt,name=api_hub_instance,json=apiHubInstance,proto3" json:"api_hub_instance,omitempty"`
	// contains filtered or unexported fields
}

The [CreateApiHubInstance][google.cloud.apihub.v1.Provisioning.CreateApiHubInstance] method's request.

func (*CreateApiHubInstanceRequest) Descriptor deprecated

func (*CreateApiHubInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateApiHubInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateApiHubInstanceRequest) GetApiHubInstance

func (x *CreateApiHubInstanceRequest) GetApiHubInstance() *ApiHubInstance

func (*CreateApiHubInstanceRequest) GetApiHubInstanceId

func (x *CreateApiHubInstanceRequest) GetApiHubInstanceId() string

func (*CreateApiHubInstanceRequest) GetParent

func (x *CreateApiHubInstanceRequest) GetParent() string

func (*CreateApiHubInstanceRequest) ProtoMessage

func (*CreateApiHubInstanceRequest) ProtoMessage()

func (*CreateApiHubInstanceRequest) ProtoReflect

func (*CreateApiHubInstanceRequest) Reset

func (x *CreateApiHubInstanceRequest) Reset()

func (*CreateApiHubInstanceRequest) String

func (x *CreateApiHubInstanceRequest) String() string

type CreateApiOperationRequest added in v0.2.0

type CreateApiOperationRequest struct {

	// Required. The parent resource for the operation resource.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the operation resource, which will become the
	// final component of the operation's resource name. This field is optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another operation resource in the API
	// hub.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-500 characters, overall resource name which
	// will be of format
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`,
	// its length is limited to 700 characters, and valid characters are
	// /[a-z][A-Z][0-9]-_/.
	ApiOperationId string `protobuf:"bytes,2,opt,name=api_operation_id,json=apiOperationId,proto3" json:"api_operation_id,omitempty"`
	// Required. The operation resource to create.
	ApiOperation *ApiOperation `protobuf:"bytes,3,opt,name=api_operation,json=apiOperation,proto3" json:"api_operation,omitempty"`
	// contains filtered or unexported fields
}

The [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] method's request.

func (*CreateApiOperationRequest) Descriptor deprecated added in v0.2.0

func (*CreateApiOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateApiOperationRequest.ProtoReflect.Descriptor instead.

func (*CreateApiOperationRequest) GetApiOperation added in v0.2.0

func (x *CreateApiOperationRequest) GetApiOperation() *ApiOperation

func (*CreateApiOperationRequest) GetApiOperationId added in v0.2.0

func (x *CreateApiOperationRequest) GetApiOperationId() string

func (*CreateApiOperationRequest) GetParent added in v0.2.0

func (x *CreateApiOperationRequest) GetParent() string

func (*CreateApiOperationRequest) ProtoMessage added in v0.2.0

func (*CreateApiOperationRequest) ProtoMessage()

func (*CreateApiOperationRequest) ProtoReflect added in v0.2.0

func (*CreateApiOperationRequest) Reset added in v0.2.0

func (x *CreateApiOperationRequest) Reset()

func (*CreateApiOperationRequest) String added in v0.2.0

func (x *CreateApiOperationRequest) String() string

type CreateApiRequest

type CreateApiRequest struct {

	// Required. The parent resource for the API resource.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the API resource, which will become the final
	// component of the API's resource name. This field is optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another API resource in the API hub.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-500 characters, and valid characters
	// are /[a-z][A-Z][0-9]-_/.
	ApiId string `protobuf:"bytes,2,opt,name=api_id,json=apiId,proto3" json:"api_id,omitempty"`
	// Required. The API resource to create.
	Api *Api `protobuf:"bytes,3,opt,name=api,proto3" json:"api,omitempty"`
	// contains filtered or unexported fields
}

The [CreateApi][google.cloud.apihub.v1.ApiHub.CreateApi] method's request.

func (*CreateApiRequest) Descriptor deprecated

func (*CreateApiRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateApiRequest.ProtoReflect.Descriptor instead.

func (*CreateApiRequest) GetApi

func (x *CreateApiRequest) GetApi() *Api

func (*CreateApiRequest) GetApiId

func (x *CreateApiRequest) GetApiId() string

func (*CreateApiRequest) GetParent

func (x *CreateApiRequest) GetParent() string

func (*CreateApiRequest) ProtoMessage

func (*CreateApiRequest) ProtoMessage()

func (*CreateApiRequest) ProtoReflect

func (x *CreateApiRequest) ProtoReflect() protoreflect.Message

func (*CreateApiRequest) Reset

func (x *CreateApiRequest) Reset()

func (*CreateApiRequest) String

func (x *CreateApiRequest) String() string

type CreateAttributeRequest

type CreateAttributeRequest struct {

	// Required. The parent resource for Attribute.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the attribute, which will become the final
	// component of the attribute's resource name. This field is optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another attribute resource in the API
	// hub.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-500 characters, and valid characters
	// are /[a-z][A-Z][0-9]-_/.
	AttributeId string `protobuf:"bytes,2,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// Required. The attribute to create.
	Attribute *Attribute `protobuf:"bytes,3,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// contains filtered or unexported fields
}

The [CreateAttribute][google.cloud.apihub.v1.ApiHub.CreateAttribute] method's request.

func (*CreateAttributeRequest) Descriptor deprecated

func (*CreateAttributeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAttributeRequest.ProtoReflect.Descriptor instead.

func (*CreateAttributeRequest) GetAttribute

func (x *CreateAttributeRequest) GetAttribute() *Attribute

func (*CreateAttributeRequest) GetAttributeId

func (x *CreateAttributeRequest) GetAttributeId() string

func (*CreateAttributeRequest) GetParent

func (x *CreateAttributeRequest) GetParent() string

func (*CreateAttributeRequest) ProtoMessage

func (*CreateAttributeRequest) ProtoMessage()

func (*CreateAttributeRequest) ProtoReflect

func (x *CreateAttributeRequest) ProtoReflect() protoreflect.Message

func (*CreateAttributeRequest) Reset

func (x *CreateAttributeRequest) Reset()

func (*CreateAttributeRequest) String

func (x *CreateAttributeRequest) String() string

type CreateCurationRequest added in v0.2.0

type CreateCurationRequest struct {

	// Required. The parent resource for the curation resource.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the curation resource, which will become the
	// final component of the curations's resource name. This field is optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified ID is already used by another curation resource in the API
	// hub.
	// * If not provided, a system generated ID will be used.
	//
	// This value should be 4-500 characters, and valid characters
	// are /[a-z][A-Z][0-9]-_/.
	CurationId string `protobuf:"bytes,2,opt,name=curation_id,json=curationId,proto3" json:"curation_id,omitempty"`
	// Required. The curation resource to create.
	Curation *Curation `protobuf:"bytes,3,opt,name=curation,proto3" json:"curation,omitempty"`
	// contains filtered or unexported fields
}

The [CreateCuration][ApiHub.CreateCuration] method's request.

func (*CreateCurationRequest) Descriptor deprecated added in v0.2.0

func (*CreateCurationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateCurationRequest.ProtoReflect.Descriptor instead.

func (*CreateCurationRequest) GetCuration added in v0.2.0

func (x *CreateCurationRequest) GetCuration() *Curation

func (*CreateCurationRequest) GetCurationId added in v0.2.0

func (x *CreateCurationRequest) GetCurationId() string

func (*CreateCurationRequest) GetParent added in v0.2.0

func (x *CreateCurationRequest) GetParent() string

func (*CreateCurationRequest) ProtoMessage added in v0.2.0

func (*CreateCurationRequest) ProtoMessage()

func (*CreateCurationRequest) ProtoReflect added in v0.2.0

func (x *CreateCurationRequest) ProtoReflect() protoreflect.Message

func (*CreateCurationRequest) Reset added in v0.2.0

func (x *CreateCurationRequest) Reset()

func (*CreateCurationRequest) String added in v0.2.0

func (x *CreateCurationRequest) String() string

type CreateDependencyRequest

type CreateDependencyRequest struct {

	// Required. The parent resource for the dependency resource.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the dependency resource, which will become the
	// final component of the dependency's resource name. This field is optional.
	// * If provided, the same will be used. The service will throw an error if
	// duplicate id is provided by the client.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-500 characters, and valid characters
	// are `[a-z][A-Z][0-9]-_`.
	DependencyId string `protobuf:"bytes,2,opt,name=dependency_id,json=dependencyId,proto3" json:"dependency_id,omitempty"`
	// Required. The dependency resource to create.
	Dependency *Dependency `protobuf:"bytes,3,opt,name=dependency,proto3" json:"dependency,omitempty"`
	// contains filtered or unexported fields
}

The [CreateDependency][google.cloud.apihub.v1.ApiHubDependencies.CreateDependency] method's request.

func (*CreateDependencyRequest) Descriptor deprecated

func (*CreateDependencyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateDependencyRequest.ProtoReflect.Descriptor instead.

func (*CreateDependencyRequest) GetDependency

func (x *CreateDependencyRequest) GetDependency() *Dependency

func (*CreateDependencyRequest) GetDependencyId

func (x *CreateDependencyRequest) GetDependencyId() string

func (*CreateDependencyRequest) GetParent

func (x *CreateDependencyRequest) GetParent() string

func (*CreateDependencyRequest) ProtoMessage

func (*CreateDependencyRequest) ProtoMessage()

func (*CreateDependencyRequest) ProtoReflect

func (x *CreateDependencyRequest) ProtoReflect() protoreflect.Message

func (*CreateDependencyRequest) Reset

func (x *CreateDependencyRequest) Reset()

func (*CreateDependencyRequest) String

func (x *CreateDependencyRequest) String() string

type CreateDeploymentRequest

type CreateDeploymentRequest struct {

	// Required. The parent resource for the deployment resource.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the deployment resource, which will become the
	// final component of the deployment's resource name. This field is optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another deployment resource in the API
	// hub.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-500 characters, and valid characters
	// are /[a-z][A-Z][0-9]-_/.
	DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	// Required. The deployment resource to create.
	Deployment *Deployment `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// contains filtered or unexported fields
}

The [CreateDeployment][google.cloud.apihub.v1.ApiHub.CreateDeployment] method's request.

func (*CreateDeploymentRequest) Descriptor deprecated

func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateDeploymentRequest.ProtoReflect.Descriptor instead.

func (*CreateDeploymentRequest) GetDeployment

func (x *CreateDeploymentRequest) GetDeployment() *Deployment

func (*CreateDeploymentRequest) GetDeploymentId

func (x *CreateDeploymentRequest) GetDeploymentId() string

func (*CreateDeploymentRequest) GetParent

func (x *CreateDeploymentRequest) GetParent() string

func (*CreateDeploymentRequest) ProtoMessage

func (*CreateDeploymentRequest) ProtoMessage()

func (*CreateDeploymentRequest) ProtoReflect

func (x *CreateDeploymentRequest) ProtoReflect() protoreflect.Message

func (*CreateDeploymentRequest) Reset

func (x *CreateDeploymentRequest) Reset()

func (*CreateDeploymentRequest) String

func (x *CreateDeploymentRequest) String() string

type CreateExternalApiRequest

type CreateExternalApiRequest struct {

	// Required. The parent resource for the External API resource.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the External API resource, which will become
	// the final component of the External API's resource name. This field is
	// optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another External API resource in the
	// API hub.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-500 characters, and valid characters
	// are /[a-z][A-Z][0-9]-_/.
	ExternalApiId string `protobuf:"bytes,2,opt,name=external_api_id,json=externalApiId,proto3" json:"external_api_id,omitempty"`
	// Required. The External API resource to create.
	ExternalApi *ExternalApi `protobuf:"bytes,3,opt,name=external_api,json=externalApi,proto3" json:"external_api,omitempty"`
	// contains filtered or unexported fields
}

The [CreateExternalApi][google.cloud.apihub.v1.ApiHub.CreateExternalApi] method's request.

func (*CreateExternalApiRequest) Descriptor deprecated

func (*CreateExternalApiRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateExternalApiRequest.ProtoReflect.Descriptor instead.

func (*CreateExternalApiRequest) GetExternalApi

func (x *CreateExternalApiRequest) GetExternalApi() *ExternalApi

func (*CreateExternalApiRequest) GetExternalApiId

func (x *CreateExternalApiRequest) GetExternalApiId() string

func (*CreateExternalApiRequest) GetParent

func (x *CreateExternalApiRequest) GetParent() string

func (*CreateExternalApiRequest) ProtoMessage

func (*CreateExternalApiRequest) ProtoMessage()

func (*CreateExternalApiRequest) ProtoReflect

func (x *CreateExternalApiRequest) ProtoReflect() protoreflect.Message

func (*CreateExternalApiRequest) Reset

func (x *CreateExternalApiRequest) Reset()

func (*CreateExternalApiRequest) String

func (x *CreateExternalApiRequest) String() string

type CreateHostProjectRegistrationRequest

type CreateHostProjectRegistrationRequest struct {

	// Required. The parent resource for the host project.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID to use for the Host Project Registration, which will
	// become the final component of the host project registration's resource
	// name. The ID must be the same as the Google cloud project specified in the
	// host_project_registration.gcp_project field.
	HostProjectRegistrationId string `` /* 140-byte string literal not displayed */
	// Required. The host project registration to register.
	HostProjectRegistration *HostProjectRegistration `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

The [CreateHostProjectRegistration][google.cloud.apihub.v1.HostProjectRegistrationService.CreateHostProjectRegistration] method's request.

func (*CreateHostProjectRegistrationRequest) Descriptor deprecated

func (*CreateHostProjectRegistrationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateHostProjectRegistrationRequest.ProtoReflect.Descriptor instead.

func (*CreateHostProjectRegistrationRequest) GetHostProjectRegistration

func (x *CreateHostProjectRegistrationRequest) GetHostProjectRegistration() *HostProjectRegistration

func (*CreateHostProjectRegistrationRequest) GetHostProjectRegistrationId

func (x *CreateHostProjectRegistrationRequest) GetHostProjectRegistrationId() string

func (*CreateHostProjectRegistrationRequest) GetParent

func (*CreateHostProjectRegistrationRequest) ProtoMessage

func (*CreateHostProjectRegistrationRequest) ProtoMessage()

func (*CreateHostProjectRegistrationRequest) ProtoReflect

func (*CreateHostProjectRegistrationRequest) Reset

func (*CreateHostProjectRegistrationRequest) String

type CreatePluginInstanceRequest added in v0.2.0

type CreatePluginInstanceRequest struct {

	// Required. The parent of the plugin instance resource.
	// Format: `projects/{project}/locations/{location}/plugins/{plugin}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the plugin instance, which will become the
	// final component of the plugin instance's resource name. This field is
	// optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another plugin instance in the plugin
	// resource.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-63 characters, and valid characters
	// are /[a-z][A-Z][0-9]-_/.
	PluginInstanceId string `protobuf:"bytes,2,opt,name=plugin_instance_id,json=pluginInstanceId,proto3" json:"plugin_instance_id,omitempty"`
	// Required. The plugin instance to create.
	PluginInstance *PluginInstance `protobuf:"bytes,3,opt,name=plugin_instance,json=pluginInstance,proto3" json:"plugin_instance,omitempty"`
	// contains filtered or unexported fields
}

The [CreatePluginInstance][google.cloud.apihub.v1.ApiHubPlugin.CreatePluginInstance] method's request.

func (*CreatePluginInstanceRequest) Descriptor deprecated added in v0.2.0

func (*CreatePluginInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePluginInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreatePluginInstanceRequest) GetParent added in v0.2.0

func (x *CreatePluginInstanceRequest) GetParent() string

func (*CreatePluginInstanceRequest) GetPluginInstance added in v0.2.0

func (x *CreatePluginInstanceRequest) GetPluginInstance() *PluginInstance

func (*CreatePluginInstanceRequest) GetPluginInstanceId added in v0.2.0

func (x *CreatePluginInstanceRequest) GetPluginInstanceId() string

func (*CreatePluginInstanceRequest) ProtoMessage added in v0.2.0

func (*CreatePluginInstanceRequest) ProtoMessage()

func (*CreatePluginInstanceRequest) ProtoReflect added in v0.2.0

func (*CreatePluginInstanceRequest) Reset added in v0.2.0

func (x *CreatePluginInstanceRequest) Reset()

func (*CreatePluginInstanceRequest) String added in v0.2.0

func (x *CreatePluginInstanceRequest) String() string

type CreatePluginRequest added in v0.2.0

type CreatePluginRequest struct {

	// Required. The parent resource where this plugin will be created.
	// Format: `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the Plugin resource, which will become the
	// final component of the Plugin's resource name. This field is optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another Plugin resource in the API hub
	// instance.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-63 characters, overall resource name which will be
	// of format
	// `projects/{project}/locations/{location}/plugins/{plugin}`,
	// its length is limited to 1000 characters and valid characters are
	// /[a-z][A-Z][0-9]-_/.
	PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
	// Required. The plugin to create.
	Plugin *Plugin `protobuf:"bytes,3,opt,name=plugin,proto3" json:"plugin,omitempty"`
	// contains filtered or unexported fields
}

The [CreatePlugin][google.cloud.apihub.v1.ApiHubPlugin.CreatePlugin] method's request.

func (*CreatePluginRequest) Descriptor deprecated added in v0.2.0

func (*CreatePluginRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePluginRequest.ProtoReflect.Descriptor instead.

func (*CreatePluginRequest) GetParent added in v0.2.0

func (x *CreatePluginRequest) GetParent() string

func (*CreatePluginRequest) GetPlugin added in v0.2.0

func (x *CreatePluginRequest) GetPlugin() *Plugin

func (*CreatePluginRequest) GetPluginId added in v0.2.0

func (x *CreatePluginRequest) GetPluginId() string

func (*CreatePluginRequest) ProtoMessage added in v0.2.0

func (*CreatePluginRequest) ProtoMessage()

func (*CreatePluginRequest) ProtoReflect added in v0.2.0

func (x *CreatePluginRequest) ProtoReflect() protoreflect.Message

func (*CreatePluginRequest) Reset added in v0.2.0

func (x *CreatePluginRequest) Reset()

func (*CreatePluginRequest) String added in v0.2.0

func (x *CreatePluginRequest) String() string

type CreateRuntimeProjectAttachmentRequest

type CreateRuntimeProjectAttachmentRequest struct {

	// Required. The parent resource for the Runtime Project Attachment.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID to use for the Runtime Project Attachment, which will
	// become the final component of the Runtime Project Attachment's name. The ID
	// must be the same as the project ID of the Google cloud project specified in
	// the runtime_project_attachment.runtime_project field.
	RuntimeProjectAttachmentId string `` /* 143-byte string literal not displayed */
	// Required. The Runtime Project Attachment to create.
	RuntimeProjectAttachment *RuntimeProjectAttachment `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

The [CreateRuntimeProjectAttachment][google.cloud.apihub.v1.RuntimeProjectAttachmentService.CreateRuntimeProjectAttachment] method's request.

func (*CreateRuntimeProjectAttachmentRequest) Descriptor deprecated

func (*CreateRuntimeProjectAttachmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRuntimeProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*CreateRuntimeProjectAttachmentRequest) GetParent

func (*CreateRuntimeProjectAttachmentRequest) GetRuntimeProjectAttachment

func (x *CreateRuntimeProjectAttachmentRequest) GetRuntimeProjectAttachment() *RuntimeProjectAttachment

func (*CreateRuntimeProjectAttachmentRequest) GetRuntimeProjectAttachmentId

func (x *CreateRuntimeProjectAttachmentRequest) GetRuntimeProjectAttachmentId() string

func (*CreateRuntimeProjectAttachmentRequest) ProtoMessage

func (*CreateRuntimeProjectAttachmentRequest) ProtoMessage()

func (*CreateRuntimeProjectAttachmentRequest) ProtoReflect

func (*CreateRuntimeProjectAttachmentRequest) Reset

func (*CreateRuntimeProjectAttachmentRequest) String

type CreateSpecRequest

type CreateSpecRequest struct {

	// Required. The parent resource for Spec.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the spec, which will become the final component
	// of the spec's resource name. This field is optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another spec in the API
	// resource.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-500 characters, overall resource name which will be
	// of format
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`,
	// its length is limited to 1000 characters and valid characters are
	// /[a-z][A-Z][0-9]-_/.
	SpecId string `protobuf:"bytes,2,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"`
	// Required. The spec to create.
	Spec *Spec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

The [CreateSpec][google.cloud.apihub.v1.ApiHub.CreateSpec] method's request.

func (*CreateSpecRequest) Descriptor deprecated

func (*CreateSpecRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSpecRequest.ProtoReflect.Descriptor instead.

func (*CreateSpecRequest) GetParent

func (x *CreateSpecRequest) GetParent() string

func (*CreateSpecRequest) GetSpec

func (x *CreateSpecRequest) GetSpec() *Spec

func (*CreateSpecRequest) GetSpecId

func (x *CreateSpecRequest) GetSpecId() string

func (*CreateSpecRequest) ProtoMessage

func (*CreateSpecRequest) ProtoMessage()

func (*CreateSpecRequest) ProtoReflect

func (x *CreateSpecRequest) ProtoReflect() protoreflect.Message

func (*CreateSpecRequest) Reset

func (x *CreateSpecRequest) Reset()

func (*CreateSpecRequest) String

func (x *CreateSpecRequest) String() string

type CreateVersionRequest

type CreateVersionRequest struct {

	// Required. The parent resource for API version.
	// Format: `projects/{project}/locations/{location}/apis/{api}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The ID to use for the API version, which will become the final
	// component of the version's resource name. This field is optional.
	//
	// * If provided, the same will be used. The service will throw an error if
	// the specified id is already used by another version in the API resource.
	// * If not provided, a system generated id will be used.
	//
	// This value should be 4-500 characters, overall resource name which will be
	// of format
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`,
	// its length is limited to 700 characters and valid characters are
	// /[a-z][A-Z][0-9]-_/.
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// Required. The version to create.
	Version *Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

The [CreateVersion][google.cloud.apihub.v1.ApiHub.CreateVersion] method's request.

func (*CreateVersionRequest) Descriptor deprecated

func (*CreateVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.

func (*CreateVersionRequest) GetParent

func (x *CreateVersionRequest) GetParent() string

func (*CreateVersionRequest) GetVersion

func (x *CreateVersionRequest) GetVersion() *Version

func (*CreateVersionRequest) GetVersionId

func (x *CreateVersionRequest) GetVersionId() string

func (*CreateVersionRequest) ProtoMessage

func (*CreateVersionRequest) ProtoMessage()

func (*CreateVersionRequest) ProtoReflect

func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message

func (*CreateVersionRequest) Reset

func (x *CreateVersionRequest) Reset()

func (*CreateVersionRequest) String

func (x *CreateVersionRequest) String() string

type Curation added in v0.2.0

type Curation struct {

	// Identifier. The name of the curation.
	//
	// Format:
	// `projects/{project}/locations/{location}/curations/{curation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the curation.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The description of the curation.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Required. The endpoint to be triggered for curation.
	Endpoint *Endpoint `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Output only. The plugin instances and associated actions that are using the
	// curation. Note: A particular curation could be used by multiple plugin
	// instances or multiple actions in a plugin instance.
	PluginInstanceActions []*Curation_PluginInstanceActionID `` /* 126-byte string literal not displayed */
	// Output only. The last execution state of the curation.
	LastExecutionState Curation_LastExecutionState `` /* 174-byte string literal not displayed */
	// Output only. The error code of the last execution of the curation. The
	// error code is populated only when the last execution state is failed.
	LastExecutionErrorCode Curation_ErrorCode `` /* 179-byte string literal not displayed */
	// Output only. Error message describing the failure, if any, during the last
	// execution of the curation.
	LastExecutionErrorMessage string `` /* 140-byte string literal not displayed */
	// Output only. The time at which the curation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the curation was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

A curation resource in the API Hub.

func (*Curation) Descriptor deprecated added in v0.2.0

func (*Curation) Descriptor() ([]byte, []int)

Deprecated: Use Curation.ProtoReflect.Descriptor instead.

func (*Curation) GetCreateTime added in v0.2.0

func (x *Curation) GetCreateTime() *timestamppb.Timestamp

func (*Curation) GetDescription added in v0.2.0

func (x *Curation) GetDescription() string

func (*Curation) GetDisplayName added in v0.2.0

func (x *Curation) GetDisplayName() string

func (*Curation) GetEndpoint added in v0.2.0

func (x *Curation) GetEndpoint() *Endpoint

func (*Curation) GetLastExecutionErrorCode added in v0.2.0

func (x *Curation) GetLastExecutionErrorCode() Curation_ErrorCode

func (*Curation) GetLastExecutionErrorMessage added in v0.2.0

func (x *Curation) GetLastExecutionErrorMessage() string

func (*Curation) GetLastExecutionState added in v0.2.0

func (x *Curation) GetLastExecutionState() Curation_LastExecutionState

func (*Curation) GetName added in v0.2.0

func (x *Curation) GetName() string

func (*Curation) GetPluginInstanceActions added in v0.2.0

func (x *Curation) GetPluginInstanceActions() []*Curation_PluginInstanceActionID

func (*Curation) GetUpdateTime added in v0.2.0

func (x *Curation) GetUpdateTime() *timestamppb.Timestamp

func (*Curation) ProtoMessage added in v0.2.0

func (*Curation) ProtoMessage()

func (*Curation) ProtoReflect added in v0.2.0

func (x *Curation) ProtoReflect() protoreflect.Message

func (*Curation) Reset added in v0.2.0

func (x *Curation) Reset()

func (*Curation) String added in v0.2.0

func (x *Curation) String() string

type CurationConfig added in v0.2.0

type CurationConfig struct {

	// The curation information for this plugin instance.
	//
	// Types that are assignable to CurationConfig:
	//
	//	*CurationConfig_CustomCuration_
	CurationConfig isCurationConfig_CurationConfig `protobuf_oneof:"curation_config"`
	// Required. The curation type for this plugin instance.
	CurationType CurationType `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

The curation information for this plugin instance.

func (*CurationConfig) Descriptor deprecated added in v0.2.0

func (*CurationConfig) Descriptor() ([]byte, []int)

Deprecated: Use CurationConfig.ProtoReflect.Descriptor instead.

func (*CurationConfig) GetCurationConfig added in v0.2.0

func (m *CurationConfig) GetCurationConfig() isCurationConfig_CurationConfig

func (*CurationConfig) GetCurationType added in v0.2.0

func (x *CurationConfig) GetCurationType() CurationType

func (*CurationConfig) GetCustomCuration added in v0.2.0

func (x *CurationConfig) GetCustomCuration() *CurationConfig_CustomCuration

func (*CurationConfig) ProtoMessage added in v0.2.0

func (*CurationConfig) ProtoMessage()

func (*CurationConfig) ProtoReflect added in v0.2.0

func (x *CurationConfig) ProtoReflect() protoreflect.Message

func (*CurationConfig) Reset added in v0.2.0

func (x *CurationConfig) Reset()

func (*CurationConfig) String added in v0.2.0

func (x *CurationConfig) String() string

type CurationConfig_CustomCuration added in v0.2.0

type CurationConfig_CustomCuration struct {

	// Required. The unique name of the curation resource. This will be the name
	// of the curation resource in the format:
	// `projects/{project}/locations/{location}/curations/{curation}`
	Curation string `protobuf:"bytes,1,opt,name=curation,proto3" json:"curation,omitempty"`
	// contains filtered or unexported fields
}

Custom curation information for this plugin instance.

func (*CurationConfig_CustomCuration) Descriptor deprecated added in v0.2.0

func (*CurationConfig_CustomCuration) Descriptor() ([]byte, []int)

Deprecated: Use CurationConfig_CustomCuration.ProtoReflect.Descriptor instead.

func (*CurationConfig_CustomCuration) GetCuration added in v0.2.0

func (x *CurationConfig_CustomCuration) GetCuration() string

func (*CurationConfig_CustomCuration) ProtoMessage added in v0.2.0

func (*CurationConfig_CustomCuration) ProtoMessage()

func (*CurationConfig_CustomCuration) ProtoReflect added in v0.2.0

func (*CurationConfig_CustomCuration) Reset added in v0.2.0

func (x *CurationConfig_CustomCuration) Reset()

func (*CurationConfig_CustomCuration) String added in v0.2.0

type CurationConfig_CustomCuration_ added in v0.2.0

type CurationConfig_CustomCuration_ struct {
	// Optional. Custom curation information for this plugin instance.
	CustomCuration *CurationConfig_CustomCuration `protobuf:"bytes,2,opt,name=custom_curation,json=customCuration,proto3,oneof"`
}

type CurationType added in v0.2.0

type CurationType int32

Enum for the curation type.

const (
	// Default unspecified curation type.
	CurationType_CURATION_TYPE_UNSPECIFIED CurationType = 0
	// Default curation for API metadata will be used.
	CurationType_DEFAULT_CURATION_FOR_API_METADATA CurationType = 1
	// Custom curation for API metadata will be used.
	CurationType_CUSTOM_CURATION_FOR_API_METADATA CurationType = 2
)

func (CurationType) Descriptor added in v0.2.0

func (CurationType) Enum added in v0.2.0

func (x CurationType) Enum() *CurationType

func (CurationType) EnumDescriptor deprecated added in v0.2.0

func (CurationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CurationType.Descriptor instead.

func (CurationType) Number added in v0.2.0

func (CurationType) String added in v0.2.0

func (x CurationType) String() string

func (CurationType) Type added in v0.2.0

type Curation_ErrorCode added in v0.2.0

type Curation_ErrorCode int32

The error codes for failed executions.

const (
	// Default unspecified error code.
	Curation_ERROR_CODE_UNSPECIFIED Curation_ErrorCode = 0
	// The execution failed due to an internal error.
	Curation_INTERNAL_ERROR Curation_ErrorCode = 1
	// The curation is not authorized to trigger the endpoint uri.
	Curation_UNAUTHORIZED Curation_ErrorCode = 2
)

func (Curation_ErrorCode) Descriptor added in v0.2.0

func (Curation_ErrorCode) Enum added in v0.2.0

func (Curation_ErrorCode) EnumDescriptor deprecated added in v0.2.0

func (Curation_ErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Curation_ErrorCode.Descriptor instead.

func (Curation_ErrorCode) Number added in v0.2.0

func (Curation_ErrorCode) String added in v0.2.0

func (x Curation_ErrorCode) String() string

func (Curation_ErrorCode) Type added in v0.2.0

type Curation_LastExecutionState added in v0.2.0

type Curation_LastExecutionState int32

The state of the last execution of the curation.

const (
	// Default unspecified state.
	Curation_LAST_EXECUTION_STATE_UNSPECIFIED Curation_LastExecutionState = 0
	// The last curation execution was successful.
	Curation_SUCCEEDED Curation_LastExecutionState = 1
	// The last curation execution failed.
	Curation_FAILED Curation_LastExecutionState = 2
)

func (Curation_LastExecutionState) Descriptor added in v0.2.0

func (Curation_LastExecutionState) Enum added in v0.2.0

func (Curation_LastExecutionState) EnumDescriptor deprecated added in v0.2.0

func (Curation_LastExecutionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Curation_LastExecutionState.Descriptor instead.

func (Curation_LastExecutionState) Number added in v0.2.0

func (Curation_LastExecutionState) String added in v0.2.0

func (Curation_LastExecutionState) Type added in v0.2.0

type Curation_PluginInstanceActionID added in v0.2.0

type Curation_PluginInstanceActionID struct {

	// Output only. Plugin instance that is using the curation.
	// Format is
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
	PluginInstance string `protobuf:"bytes,1,opt,name=plugin_instance,json=pluginInstance,proto3" json:"plugin_instance,omitempty"`
	// Output only. The action ID that is using the curation.
	// This should map to one of the action IDs specified
	// in action configs in the plugin.
	ActionId string `protobuf:"bytes,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// contains filtered or unexported fields
}

The plugin instance and associated action that is using the curation.

func (*Curation_PluginInstanceActionID) Descriptor deprecated added in v0.2.0

func (*Curation_PluginInstanceActionID) Descriptor() ([]byte, []int)

Deprecated: Use Curation_PluginInstanceActionID.ProtoReflect.Descriptor instead.

func (*Curation_PluginInstanceActionID) GetActionId added in v0.2.0

func (x *Curation_PluginInstanceActionID) GetActionId() string

func (*Curation_PluginInstanceActionID) GetPluginInstance added in v0.2.0

func (x *Curation_PluginInstanceActionID) GetPluginInstance() string

func (*Curation_PluginInstanceActionID) ProtoMessage added in v0.2.0

func (*Curation_PluginInstanceActionID) ProtoMessage()

func (*Curation_PluginInstanceActionID) ProtoReflect added in v0.2.0

func (*Curation_PluginInstanceActionID) Reset added in v0.2.0

func (*Curation_PluginInstanceActionID) String added in v0.2.0

type Definition

type Definition struct {

	// Types that are assignable to Value:
	//
	//	*Definition_Schema
	Value isDefinition_Value `protobuf_oneof:"value"`
	// Identifier. The name of the definition.
	//
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The name of the spec from where the definition was parsed.
	// Format is
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	Spec string `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// Output only. The type of the definition.
	Type Definition_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.apihub.v1.Definition_Type" json:"type,omitempty"`
	// Output only. The time at which the definition was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the definition was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The list of user defined attributes associated with the
	// definition resource. The key is the attribute name. It will be of the
	// format: `projects/{project}/locations/{location}/attributes/{attribute}`.
	// The value is the attribute values associated with the resource.
	Attributes map[string]*AttributeValues `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a definition for example schema, request, response definitions contained in an API version. A definition is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, definition will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Also, within OpenAPI spec, only `schema` object is supported.

func (*Definition) Descriptor deprecated

func (*Definition) Descriptor() ([]byte, []int)

Deprecated: Use Definition.ProtoReflect.Descriptor instead.

func (*Definition) GetAttributes

func (x *Definition) GetAttributes() map[string]*AttributeValues

func (*Definition) GetCreateTime

func (x *Definition) GetCreateTime() *timestamppb.Timestamp

func (*Definition) GetName

func (x *Definition) GetName() string

func (*Definition) GetSchema

func (x *Definition) GetSchema() *Schema

func (*Definition) GetSpec

func (x *Definition) GetSpec() string

func (*Definition) GetType

func (x *Definition) GetType() Definition_Type

func (*Definition) GetUpdateTime

func (x *Definition) GetUpdateTime() *timestamppb.Timestamp

func (*Definition) GetValue

func (m *Definition) GetValue() isDefinition_Value

func (*Definition) ProtoMessage

func (*Definition) ProtoMessage()

func (*Definition) ProtoReflect

func (x *Definition) ProtoReflect() protoreflect.Message

func (*Definition) Reset

func (x *Definition) Reset()

func (*Definition) String

func (x *Definition) String() string

type Definition_Schema

type Definition_Schema struct {
	// Output only. The value of a schema definition.
	Schema *Schema `protobuf:"bytes,4,opt,name=schema,proto3,oneof"`
}

type Definition_Type

type Definition_Type int32

Enumeration of definition types.

const (
	// Definition type unspecified.
	Definition_TYPE_UNSPECIFIED Definition_Type = 0
	// Definition type schema.
	Definition_SCHEMA Definition_Type = 1
)

func (Definition_Type) Descriptor

func (Definition_Type) Enum

func (x Definition_Type) Enum() *Definition_Type

func (Definition_Type) EnumDescriptor deprecated

func (Definition_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Definition_Type.Descriptor instead.

func (Definition_Type) Number

func (Definition_Type) String

func (x Definition_Type) String() string

func (Definition_Type) Type

type DeleteApiHubInstanceRequest added in v0.2.0

type DeleteApiHubInstanceRequest struct {

	// Required. The name of the Api Hub instance to delete.
	// Format:
	// `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteApiHubInstance][google.cloud.apihub.v1.Provisioning.DeleteApiHubInstance] method's request.

func (*DeleteApiHubInstanceRequest) Descriptor deprecated added in v0.2.0

func (*DeleteApiHubInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteApiHubInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiHubInstanceRequest) GetName added in v0.2.0

func (x *DeleteApiHubInstanceRequest) GetName() string

func (*DeleteApiHubInstanceRequest) ProtoMessage added in v0.2.0

func (*DeleteApiHubInstanceRequest) ProtoMessage()

func (*DeleteApiHubInstanceRequest) ProtoReflect added in v0.2.0

func (*DeleteApiHubInstanceRequest) Reset added in v0.2.0

func (x *DeleteApiHubInstanceRequest) Reset()

func (*DeleteApiHubInstanceRequest) String added in v0.2.0

func (x *DeleteApiHubInstanceRequest) String() string

type DeleteApiOperationRequest added in v0.2.0

type DeleteApiOperationRequest struct {

	// Required. The name of the operation resource to delete.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteApiOperation][google.cloud.apihub.v1.ApiHub.DeleteApiOperation] method's request.

func (*DeleteApiOperationRequest) Descriptor deprecated added in v0.2.0

func (*DeleteApiOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteApiOperationRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiOperationRequest) GetName added in v0.2.0

func (x *DeleteApiOperationRequest) GetName() string

func (*DeleteApiOperationRequest) ProtoMessage added in v0.2.0

func (*DeleteApiOperationRequest) ProtoMessage()

func (*DeleteApiOperationRequest) ProtoReflect added in v0.2.0

func (*DeleteApiOperationRequest) Reset added in v0.2.0

func (x *DeleteApiOperationRequest) Reset()

func (*DeleteApiOperationRequest) String added in v0.2.0

func (x *DeleteApiOperationRequest) String() string

type DeleteApiRequest

type DeleteApiRequest struct {

	// Required. The name of the API resource to delete.
	// Format: `projects/{project}/locations/{location}/apis/{api}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set to true, any versions from this API will also be deleted.
	// Otherwise, the request will only work if the API has no versions.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteApi][google.cloud.apihub.v1.ApiHub.DeleteApi] method's request.

func (*DeleteApiRequest) Descriptor deprecated

func (*DeleteApiRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteApiRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiRequest) GetForce

func (x *DeleteApiRequest) GetForce() bool

func (*DeleteApiRequest) GetName

func (x *DeleteApiRequest) GetName() string

func (*DeleteApiRequest) ProtoMessage

func (*DeleteApiRequest) ProtoMessage()

func (*DeleteApiRequest) ProtoReflect

func (x *DeleteApiRequest) ProtoReflect() protoreflect.Message

func (*DeleteApiRequest) Reset

func (x *DeleteApiRequest) Reset()

func (*DeleteApiRequest) String

func (x *DeleteApiRequest) String() string

type DeleteAttributeRequest

type DeleteAttributeRequest struct {

	// Required. The name of the attribute to delete.
	// Format:
	// `projects/{project}/locations/{location}/attributes/{attribute}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteAttribute][google.cloud.apihub.v1.ApiHub.DeleteAttribute] method's request.

func (*DeleteAttributeRequest) Descriptor deprecated

func (*DeleteAttributeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAttributeRequest.ProtoReflect.Descriptor instead.

func (*DeleteAttributeRequest) GetName

func (x *DeleteAttributeRequest) GetName() string

func (*DeleteAttributeRequest) ProtoMessage

func (*DeleteAttributeRequest) ProtoMessage()

func (*DeleteAttributeRequest) ProtoReflect

func (x *DeleteAttributeRequest) ProtoReflect() protoreflect.Message

func (*DeleteAttributeRequest) Reset

func (x *DeleteAttributeRequest) Reset()

func (*DeleteAttributeRequest) String

func (x *DeleteAttributeRequest) String() string

type DeleteCurationRequest added in v0.2.0

type DeleteCurationRequest struct {

	// Required. The name of the curation resource to delete.
	// Format: `projects/{project}/locations/{location}/curations/{curation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteCuration][ApiHub.DeleteCuration] method's request.

func (*DeleteCurationRequest) Descriptor deprecated added in v0.2.0

func (*DeleteCurationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCurationRequest.ProtoReflect.Descriptor instead.

func (*DeleteCurationRequest) GetName added in v0.2.0

func (x *DeleteCurationRequest) GetName() string

func (*DeleteCurationRequest) ProtoMessage added in v0.2.0

func (*DeleteCurationRequest) ProtoMessage()

func (*DeleteCurationRequest) ProtoReflect added in v0.2.0

func (x *DeleteCurationRequest) ProtoReflect() protoreflect.Message

func (*DeleteCurationRequest) Reset added in v0.2.0

func (x *DeleteCurationRequest) Reset()

func (*DeleteCurationRequest) String added in v0.2.0

func (x *DeleteCurationRequest) String() string

type DeleteDependencyRequest

type DeleteDependencyRequest struct {

	// Required. The name of the dependency resource to delete.
	// Format: `projects/{project}/locations/{location}/dependencies/{dependency}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteDependency][google.cloud.apihub.v1.ApiHubDependencies.DeleteDependency] method's request.

func (*DeleteDependencyRequest) Descriptor deprecated

func (*DeleteDependencyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDependencyRequest.ProtoReflect.Descriptor instead.

func (*DeleteDependencyRequest) GetName

func (x *DeleteDependencyRequest) GetName() string

func (*DeleteDependencyRequest) ProtoMessage

func (*DeleteDependencyRequest) ProtoMessage()

func (*DeleteDependencyRequest) ProtoReflect

func (x *DeleteDependencyRequest) ProtoReflect() protoreflect.Message

func (*DeleteDependencyRequest) Reset

func (x *DeleteDependencyRequest) Reset()

func (*DeleteDependencyRequest) String

func (x *DeleteDependencyRequest) String() string

type DeleteDeploymentRequest

type DeleteDeploymentRequest struct {

	// Required. The name of the deployment resource to delete.
	// Format: `projects/{project}/locations/{location}/deployments/{deployment}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteDeployment][google.cloud.apihub.v1.ApiHub.DeleteDeployment] method's request.

func (*DeleteDeploymentRequest) Descriptor deprecated

func (*DeleteDeploymentRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDeploymentRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeploymentRequest) GetName

func (x *DeleteDeploymentRequest) GetName() string

func (*DeleteDeploymentRequest) ProtoMessage

func (*DeleteDeploymentRequest) ProtoMessage()

func (*DeleteDeploymentRequest) ProtoReflect

func (x *DeleteDeploymentRequest) ProtoReflect() protoreflect.Message

func (*DeleteDeploymentRequest) Reset

func (x *DeleteDeploymentRequest) Reset()

func (*DeleteDeploymentRequest) String

func (x *DeleteDeploymentRequest) String() string

type DeleteExternalApiRequest

type DeleteExternalApiRequest struct {

	// Required. The name of the External API resource to delete.
	// Format:
	// `projects/{project}/locations/{location}/externalApis/{externalApi}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteExternalApi][google.cloud.apihub.v1.ApiHub.DeleteExternalApi] method's request.

func (*DeleteExternalApiRequest) Descriptor deprecated

func (*DeleteExternalApiRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteExternalApiRequest.ProtoReflect.Descriptor instead.

func (*DeleteExternalApiRequest) GetName

func (x *DeleteExternalApiRequest) GetName() string

func (*DeleteExternalApiRequest) ProtoMessage

func (*DeleteExternalApiRequest) ProtoMessage()

func (*DeleteExternalApiRequest) ProtoReflect

func (x *DeleteExternalApiRequest) ProtoReflect() protoreflect.Message

func (*DeleteExternalApiRequest) Reset

func (x *DeleteExternalApiRequest) Reset()

func (*DeleteExternalApiRequest) String

func (x *DeleteExternalApiRequest) String() string

type DeletePluginInstanceRequest added in v0.2.0

type DeletePluginInstanceRequest struct {

	// Required. The name of the plugin instance to delete.
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeletePluginInstance][google.cloud.apihub.v1.ApiHubPlugin.DeletePluginInstance] method's request.

func (*DeletePluginInstanceRequest) Descriptor deprecated added in v0.2.0

func (*DeletePluginInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePluginInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeletePluginInstanceRequest) GetName added in v0.2.0

func (x *DeletePluginInstanceRequest) GetName() string

func (*DeletePluginInstanceRequest) ProtoMessage added in v0.2.0

func (*DeletePluginInstanceRequest) ProtoMessage()

func (*DeletePluginInstanceRequest) ProtoReflect added in v0.2.0

func (*DeletePluginInstanceRequest) Reset added in v0.2.0

func (x *DeletePluginInstanceRequest) Reset()

func (*DeletePluginInstanceRequest) String added in v0.2.0

func (x *DeletePluginInstanceRequest) String() string

type DeletePluginRequest added in v0.2.0

type DeletePluginRequest struct {

	// Required. The name of the Plugin resource to delete.
	// Format: `projects/{project}/locations/{location}/plugins/{plugin}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeletePlugin][ApiHub.DeletePlugin] method's request.

func (*DeletePluginRequest) Descriptor deprecated added in v0.2.0

func (*DeletePluginRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePluginRequest.ProtoReflect.Descriptor instead.

func (*DeletePluginRequest) GetName added in v0.2.0

func (x *DeletePluginRequest) GetName() string

func (*DeletePluginRequest) ProtoMessage added in v0.2.0

func (*DeletePluginRequest) ProtoMessage()

func (*DeletePluginRequest) ProtoReflect added in v0.2.0

func (x *DeletePluginRequest) ProtoReflect() protoreflect.Message

func (*DeletePluginRequest) Reset added in v0.2.0

func (x *DeletePluginRequest) Reset()

func (*DeletePluginRequest) String added in v0.2.0

func (x *DeletePluginRequest) String() string

type DeleteRuntimeProjectAttachmentRequest

type DeleteRuntimeProjectAttachmentRequest struct {

	// Required. The name of the Runtime Project Attachment to delete.
	// Format:
	// `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteRuntimeProjectAttachment][google.cloud.apihub.v1.RuntimeProjectAttachmentService.DeleteRuntimeProjectAttachment] method's request.

func (*DeleteRuntimeProjectAttachmentRequest) Descriptor deprecated

func (*DeleteRuntimeProjectAttachmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRuntimeProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteRuntimeProjectAttachmentRequest) GetName

func (*DeleteRuntimeProjectAttachmentRequest) ProtoMessage

func (*DeleteRuntimeProjectAttachmentRequest) ProtoMessage()

func (*DeleteRuntimeProjectAttachmentRequest) ProtoReflect

func (*DeleteRuntimeProjectAttachmentRequest) Reset

func (*DeleteRuntimeProjectAttachmentRequest) String

type DeleteSpecRequest

type DeleteSpecRequest struct {

	// Required. The name of the spec  to delete.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteSpec][google.cloud.apihub.v1.ApiHub.DeleteSpec] method's request.

func (*DeleteSpecRequest) Descriptor deprecated

func (*DeleteSpecRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSpecRequest.ProtoReflect.Descriptor instead.

func (*DeleteSpecRequest) GetName

func (x *DeleteSpecRequest) GetName() string

func (*DeleteSpecRequest) ProtoMessage

func (*DeleteSpecRequest) ProtoMessage()

func (*DeleteSpecRequest) ProtoReflect

func (x *DeleteSpecRequest) ProtoReflect() protoreflect.Message

func (*DeleteSpecRequest) Reset

func (x *DeleteSpecRequest) Reset()

func (*DeleteSpecRequest) String

func (x *DeleteSpecRequest) String() string

type DeleteVersionRequest

type DeleteVersionRequest struct {

	// Required. The name of the version to delete.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set to true, any specs from this version will also be deleted.
	// Otherwise, the request will only work if the version has no specs.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

The [DeleteVersion][google.cloud.apihub.v1.ApiHub.DeleteVersion] method's request.

func (*DeleteVersionRequest) Descriptor deprecated

func (*DeleteVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.

func (*DeleteVersionRequest) GetForce

func (x *DeleteVersionRequest) GetForce() bool

func (*DeleteVersionRequest) GetName

func (x *DeleteVersionRequest) GetName() string

func (*DeleteVersionRequest) ProtoMessage

func (*DeleteVersionRequest) ProtoMessage()

func (*DeleteVersionRequest) ProtoReflect

func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message

func (*DeleteVersionRequest) Reset

func (x *DeleteVersionRequest) Reset()

func (*DeleteVersionRequest) String

func (x *DeleteVersionRequest) String() string

type Dependency

type Dependency struct {

	// Identifier. The name of the dependency in the API Hub.
	//
	// Format: `projects/{project}/locations/{location}/dependencies/{dependency}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. The entity acting as the consumer in the dependency.
	Consumer *DependencyEntityReference `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
	// Required. Immutable. The entity acting as the supplier in the dependency.
	Supplier *DependencyEntityReference `protobuf:"bytes,3,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// Output only. State of the dependency.
	State Dependency_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.apihub.v1.Dependency_State" json:"state,omitempty"`
	// Optional. Human readable description corresponding of the dependency.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Discovery mode of the dependency.
	DiscoveryMode Dependency_DiscoveryMode `` /* 154-byte string literal not displayed */
	// Output only. Error details of a dependency if the system has detected it
	// internally.
	ErrorDetail *DependencyErrorDetail `protobuf:"bytes,7,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	// Output only. The time at which the dependency was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the dependency was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The list of user defined attributes associated with the
	// dependency resource. The key is the attribute name. It will be of the
	// format: `projects/{project}/locations/{location}/attributes/{attribute}`.
	// The value is the attribute values associated with the resource.
	Attributes map[string]*AttributeValues `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

A dependency resource defined in the API hub describes a dependency directed from a consumer to a supplier entity. A dependency can be defined between two [Operations][google.cloud.apihub.v1.ApiOperation] or between an [Operation][google.cloud.apihub.v1.ApiOperation] and [External API][google.cloud.apihub.v1.ExternalApi].

func (*Dependency) Descriptor deprecated

func (*Dependency) Descriptor() ([]byte, []int)

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetAttributes

func (x *Dependency) GetAttributes() map[string]*AttributeValues

func (*Dependency) GetConsumer

func (x *Dependency) GetConsumer() *DependencyEntityReference

func (*Dependency) GetCreateTime

func (x *Dependency) GetCreateTime() *timestamppb.Timestamp

func (*Dependency) GetDescription

func (x *Dependency) GetDescription() string

func (*Dependency) GetDiscoveryMode

func (x *Dependency) GetDiscoveryMode() Dependency_DiscoveryMode

func (*Dependency) GetErrorDetail

func (x *Dependency) GetErrorDetail() *DependencyErrorDetail

func (*Dependency) GetName

func (x *Dependency) GetName() string

func (*Dependency) GetState

func (x *Dependency) GetState() Dependency_State

func (*Dependency) GetSupplier

func (x *Dependency) GetSupplier() *DependencyEntityReference

func (*Dependency) GetUpdateTime

func (x *Dependency) GetUpdateTime() *timestamppb.Timestamp

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect

func (x *Dependency) ProtoReflect() protoreflect.Message

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

type DependencyEntityReference

type DependencyEntityReference struct {

	// Required. Unique identifier for the participating entity.
	//
	// Types that are assignable to Identifier:
	//
	//	*DependencyEntityReference_OperationResourceName
	//	*DependencyEntityReference_ExternalApiResourceName
	Identifier isDependencyEntityReference_Identifier `protobuf_oneof:"identifier"`
	// Output only. Display name of the entity.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Reference to an entity participating in a dependency.

func (*DependencyEntityReference) Descriptor deprecated

func (*DependencyEntityReference) Descriptor() ([]byte, []int)

Deprecated: Use DependencyEntityReference.ProtoReflect.Descriptor instead.

func (*DependencyEntityReference) GetDisplayName

func (x *DependencyEntityReference) GetDisplayName() string

func (*DependencyEntityReference) GetExternalApiResourceName

func (x *DependencyEntityReference) GetExternalApiResourceName() string

func (*DependencyEntityReference) GetIdentifier

func (m *DependencyEntityReference) GetIdentifier() isDependencyEntityReference_Identifier

func (*DependencyEntityReference) GetOperationResourceName

func (x *DependencyEntityReference) GetOperationResourceName() string

func (*DependencyEntityReference) ProtoMessage

func (*DependencyEntityReference) ProtoMessage()

func (*DependencyEntityReference) ProtoReflect

func (*DependencyEntityReference) Reset

func (x *DependencyEntityReference) Reset()

func (*DependencyEntityReference) String

func (x *DependencyEntityReference) String() string

type DependencyEntityReference_ExternalApiResourceName

type DependencyEntityReference_ExternalApiResourceName struct {
	// The resource name of an external API in the API Hub.
	//
	// Format:
	// `projects/{project}/locations/{location}/externalApis/{external_api}`
	ExternalApiResourceName string `protobuf:"bytes,3,opt,name=external_api_resource_name,json=externalApiResourceName,proto3,oneof"`
}

type DependencyEntityReference_OperationResourceName

type DependencyEntityReference_OperationResourceName struct {
	// The resource name of an operation in the API Hub.
	//
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
	OperationResourceName string `protobuf:"bytes,2,opt,name=operation_resource_name,json=operationResourceName,proto3,oneof"`
}

type DependencyErrorDetail

type DependencyErrorDetail struct {

	// Optional. Error in the dependency.
	Error DependencyErrorDetail_Error `protobuf:"varint,1,opt,name=error,proto3,enum=google.cloud.apihub.v1.DependencyErrorDetail_Error" json:"error,omitempty"`
	// Optional. Timestamp at which the error was found.
	ErrorTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=error_time,json=errorTime,proto3" json:"error_time,omitempty"`
	// contains filtered or unexported fields
}

Details describing error condition of a dependency.

func (*DependencyErrorDetail) Descriptor deprecated

func (*DependencyErrorDetail) Descriptor() ([]byte, []int)

Deprecated: Use DependencyErrorDetail.ProtoReflect.Descriptor instead.

func (*DependencyErrorDetail) GetError

func (*DependencyErrorDetail) GetErrorTime

func (x *DependencyErrorDetail) GetErrorTime() *timestamppb.Timestamp

func (*DependencyErrorDetail) ProtoMessage

func (*DependencyErrorDetail) ProtoMessage()

func (*DependencyErrorDetail) ProtoReflect

func (x *DependencyErrorDetail) ProtoReflect() protoreflect.Message

func (*DependencyErrorDetail) Reset

func (x *DependencyErrorDetail) Reset()

func (*DependencyErrorDetail) String

func (x *DependencyErrorDetail) String() string

type DependencyErrorDetail_Error

type DependencyErrorDetail_Error int32

Possible values representing an error in the dependency.

const (
	// Default value used for no error in the dependency.
	DependencyErrorDetail_ERROR_UNSPECIFIED DependencyErrorDetail_Error = 0
	// Supplier entity has been deleted.
	DependencyErrorDetail_SUPPLIER_NOT_FOUND DependencyErrorDetail_Error = 1
	// Supplier entity has been recreated.
	DependencyErrorDetail_SUPPLIER_RECREATED DependencyErrorDetail_Error = 2
)

func (DependencyErrorDetail_Error) Descriptor

func (DependencyErrorDetail_Error) Enum

func (DependencyErrorDetail_Error) EnumDescriptor deprecated

func (DependencyErrorDetail_Error) EnumDescriptor() ([]byte, []int)

Deprecated: Use DependencyErrorDetail_Error.Descriptor instead.

func (DependencyErrorDetail_Error) Number

func (DependencyErrorDetail_Error) String

func (DependencyErrorDetail_Error) Type

type Dependency_DiscoveryMode

type Dependency_DiscoveryMode int32

Possible modes of discovering the dependency.

const (
	// Default value. This value is unused.
	Dependency_DISCOVERY_MODE_UNSPECIFIED Dependency_DiscoveryMode = 0
	// Manual mode of discovery when the dependency is defined by the user.
	Dependency_MANUAL Dependency_DiscoveryMode = 1
)

func (Dependency_DiscoveryMode) Descriptor

func (Dependency_DiscoveryMode) Enum

func (Dependency_DiscoveryMode) EnumDescriptor deprecated

func (Dependency_DiscoveryMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Dependency_DiscoveryMode.Descriptor instead.

func (Dependency_DiscoveryMode) Number

func (Dependency_DiscoveryMode) String

func (x Dependency_DiscoveryMode) String() string

func (Dependency_DiscoveryMode) Type

type Dependency_State

type Dependency_State int32

Possible states for a dependency.

const (
	// Default value. This value is unused.
	Dependency_STATE_UNSPECIFIED Dependency_State = 0
	// Dependency will be in a proposed state when it is newly identified by the
	// API hub on its own.
	Dependency_PROPOSED Dependency_State = 1
	// Dependency will be in a validated state when it is validated by the
	// admin or manually created in the API hub.
	Dependency_VALIDATED Dependency_State = 2
)

func (Dependency_State) Descriptor

func (Dependency_State) Enum

func (Dependency_State) EnumDescriptor deprecated

func (Dependency_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Dependency_State.Descriptor instead.

func (Dependency_State) Number

func (Dependency_State) String

func (x Dependency_State) String() string

func (Dependency_State) Type

type Deployment

type Deployment struct {

	// Identifier. The name of the deployment.
	//
	// Format:
	// `projects/{project}/locations/{location}/deployments/{deployment}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the deployment.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The description of the deployment.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. The documentation of the deployment.
	Documentation *Documentation `protobuf:"bytes,4,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Required. The type of deployment.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-deployment-type`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	DeploymentType *AttributeValues `protobuf:"bytes,5,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty"`
	// Required. The resource URI identifies the deployment within its gateway.
	// For Apigee gateways, its recommended to use the format:
	// organizations/{org}/environments/{env}/apis/{api}.
	// For ex: if a proxy with name `orders` is deployed in `staging`
	// environment of `cymbal` organization, the resource URI would be:
	// `organizations/cymbal/environments/staging/apis/orders`.
	ResourceUri string `protobuf:"bytes,6,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// Required. The endpoints at which this deployment resource is listening for
	// API requests. This could be a list of complete URIs, hostnames or an IP
	// addresses.
	Endpoints []string `protobuf:"bytes,7,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Output only. The API versions linked to this deployment.
	// Note: A particular deployment could be linked to multiple different API
	// versions (of same or different APIs).
	ApiVersions []string `protobuf:"bytes,8,rep,name=api_versions,json=apiVersions,proto3" json:"api_versions,omitempty"`
	// Output only. The time at which the deployment was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the deployment was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The SLO for this deployment.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-slo`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	Slo *AttributeValues `protobuf:"bytes,11,opt,name=slo,proto3" json:"slo,omitempty"`
	// Optional. The environment mapping to this deployment.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-environment`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	Environment *AttributeValues `protobuf:"bytes,12,opt,name=environment,proto3" json:"environment,omitempty"`
	// Optional. The list of user defined attributes associated with the
	// deployment resource. The key is the attribute name. It will be of the
	// format: `projects/{project}/locations/{location}/attributes/{attribute}`.
	// The value is the attribute values associated with the resource.
	Attributes map[string]*AttributeValues `` /* 162-byte string literal not displayed */
	// Output only. The list of sources and metadata from the sources of the
	// deployment.
	SourceMetadata []*SourceMetadata `protobuf:"bytes,14,rep,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// Optional. The uri where users can navigate to for the management of the
	// deployment. This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-management-url`
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. The value of the attribute should be a valid URL.
	ManagementUrl *AttributeValues `protobuf:"bytes,15,opt,name=management_url,json=managementUrl,proto3" json:"management_url,omitempty"`
	// Optional. The uri where additional source specific information for this
	// deployment can be found. This maps to the following system defined
	// attribute:
	// `projects/{project}/locations/{location}/attributes/system-source-uri`
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. The value of the attribute should be a valid URI, and in case
	// of Cloud Storage URI, it should point to a Cloud Storage object,
	// not a directory.
	SourceUri *AttributeValues `protobuf:"bytes,16,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"`
	// Optional. The project to which the deployment belongs.
	// For GCP gateways, this will refer to the project identifier.
	// For others like Edge/OPDK, this will refer to the org identifier.
	SourceProject string `protobuf:"bytes,17,opt,name=source_project,json=sourceProject,proto3" json:"source_project,omitempty"`
	// Optional. The environment at source for the deployment.
	// For example: prod, dev, staging, etc.
	SourceEnvironment string `protobuf:"bytes,18,opt,name=source_environment,json=sourceEnvironment,proto3" json:"source_environment,omitempty"`
	// contains filtered or unexported fields
}

Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.

func (*Deployment) Descriptor deprecated

func (*Deployment) Descriptor() ([]byte, []int)

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetApiVersions

func (x *Deployment) GetApiVersions() []string

func (*Deployment) GetAttributes

func (x *Deployment) GetAttributes() map[string]*AttributeValues

func (*Deployment) GetCreateTime

func (x *Deployment) GetCreateTime() *timestamppb.Timestamp

func (*Deployment) GetDeploymentType

func (x *Deployment) GetDeploymentType() *AttributeValues

func (*Deployment) GetDescription

func (x *Deployment) GetDescription() string

func (*Deployment) GetDisplayName

func (x *Deployment) GetDisplayName() string

func (*Deployment) GetDocumentation

func (x *Deployment) GetDocumentation() *Documentation

func (*Deployment) GetEndpoints

func (x *Deployment) GetEndpoints() []string

func (*Deployment) GetEnvironment

func (x *Deployment) GetEnvironment() *AttributeValues

func (*Deployment) GetManagementUrl added in v0.2.0

func (x *Deployment) GetManagementUrl() *AttributeValues

func (*Deployment) GetName

func (x *Deployment) GetName() string

func (*Deployment) GetResourceUri

func (x *Deployment) GetResourceUri() string

func (*Deployment) GetSlo

func (x *Deployment) GetSlo() *AttributeValues

func (*Deployment) GetSourceEnvironment added in v0.2.0

func (x *Deployment) GetSourceEnvironment() string

func (*Deployment) GetSourceMetadata added in v0.2.0

func (x *Deployment) GetSourceMetadata() []*SourceMetadata

func (*Deployment) GetSourceProject added in v0.2.0

func (x *Deployment) GetSourceProject() string

func (*Deployment) GetSourceUri added in v0.2.0

func (x *Deployment) GetSourceUri() *AttributeValues

func (*Deployment) GetUpdateTime

func (x *Deployment) GetUpdateTime() *timestamppb.Timestamp

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

func (x *Deployment) ProtoReflect() protoreflect.Message

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type DeploymentMetadata added in v0.2.0

type DeploymentMetadata struct {

	// Required. The deployment resource to be pushed to Hub's collect layer. The
	// ID of the deployment will be generated by Hub.
	Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// Optional. The unique identifier of the deployment in the system where it
	// was originally created.
	OriginalId string `protobuf:"bytes,2,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
	// Optional. Timestamp indicating when the deployment was created at the
	// source.
	OriginalCreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=original_create_time,json=originalCreateTime,proto3" json:"original_create_time,omitempty"`
	// Required. Timestamp indicating when the deployment was last updated at the
	// source.
	OriginalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=original_update_time,json=originalUpdateTime,proto3" json:"original_update_time,omitempty"`
	// contains filtered or unexported fields
}

The metadata associated with a deployment.

func (*DeploymentMetadata) Descriptor deprecated added in v0.2.0

func (*DeploymentMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentMetadata.ProtoReflect.Descriptor instead.

func (*DeploymentMetadata) GetDeployment added in v0.2.0

func (x *DeploymentMetadata) GetDeployment() *Deployment

func (*DeploymentMetadata) GetOriginalCreateTime added in v0.2.0

func (x *DeploymentMetadata) GetOriginalCreateTime() *timestamppb.Timestamp

func (*DeploymentMetadata) GetOriginalId added in v0.2.0

func (x *DeploymentMetadata) GetOriginalId() string

func (*DeploymentMetadata) GetOriginalUpdateTime added in v0.2.0

func (x *DeploymentMetadata) GetOriginalUpdateTime() *timestamppb.Timestamp

func (*DeploymentMetadata) ProtoMessage added in v0.2.0

func (*DeploymentMetadata) ProtoMessage()

func (*DeploymentMetadata) ProtoReflect added in v0.2.0

func (x *DeploymentMetadata) ProtoReflect() protoreflect.Message

func (*DeploymentMetadata) Reset added in v0.2.0

func (x *DeploymentMetadata) Reset()

func (*DeploymentMetadata) String added in v0.2.0

func (x *DeploymentMetadata) String() string

type DisablePluginInstanceActionRequest added in v0.2.0

type DisablePluginInstanceActionRequest struct {

	// Required. The name of the plugin instance to disable.
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The action id to disable.
	ActionId string `protobuf:"bytes,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// contains filtered or unexported fields
}

The [DisablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.DisablePluginInstanceAction] method's request.

func (*DisablePluginInstanceActionRequest) Descriptor deprecated added in v0.2.0

func (*DisablePluginInstanceActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisablePluginInstanceActionRequest.ProtoReflect.Descriptor instead.

func (*DisablePluginInstanceActionRequest) GetActionId added in v0.2.0

func (x *DisablePluginInstanceActionRequest) GetActionId() string

func (*DisablePluginInstanceActionRequest) GetName added in v0.2.0

func (*DisablePluginInstanceActionRequest) ProtoMessage added in v0.2.0

func (*DisablePluginInstanceActionRequest) ProtoMessage()

func (*DisablePluginInstanceActionRequest) ProtoReflect added in v0.2.0

func (*DisablePluginInstanceActionRequest) Reset added in v0.2.0

func (*DisablePluginInstanceActionRequest) String added in v0.2.0

type DisablePluginInstanceActionResponse added in v0.2.0

type DisablePluginInstanceActionResponse struct {
	// contains filtered or unexported fields
}

The [DisablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.DisablePluginInstanceAction] method's response.

func (*DisablePluginInstanceActionResponse) Descriptor deprecated added in v0.2.0

func (*DisablePluginInstanceActionResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisablePluginInstanceActionResponse.ProtoReflect.Descriptor instead.

func (*DisablePluginInstanceActionResponse) ProtoMessage added in v0.2.0

func (*DisablePluginInstanceActionResponse) ProtoMessage()

func (*DisablePluginInstanceActionResponse) ProtoReflect added in v0.2.0

func (*DisablePluginInstanceActionResponse) Reset added in v0.2.0

func (*DisablePluginInstanceActionResponse) String added in v0.2.0

type DisablePluginRequest

type DisablePluginRequest struct {

	// Required. The name of the plugin to disable.
	// Format: `projects/{project}/locations/{location}/plugins/{plugin}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [DisablePlugin][google.cloud.apihub.v1.ApiHubPlugin.DisablePlugin] method's request.

func (*DisablePluginRequest) Descriptor deprecated

func (*DisablePluginRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisablePluginRequest.ProtoReflect.Descriptor instead.

func (*DisablePluginRequest) GetName

func (x *DisablePluginRequest) GetName() string

func (*DisablePluginRequest) ProtoMessage

func (*DisablePluginRequest) ProtoMessage()

func (*DisablePluginRequest) ProtoReflect

func (x *DisablePluginRequest) ProtoReflect() protoreflect.Message

func (*DisablePluginRequest) Reset

func (x *DisablePluginRequest) Reset()

func (*DisablePluginRequest) String

func (x *DisablePluginRequest) String() string

type DiscoveredApiObservation added in v0.2.0

type DiscoveredApiObservation struct {

	// Identifier. The name of the discovered API Observation.
	//
	// Format:
	// `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Style of ApiObservation
	Style DiscoveredApiObservation_Style `protobuf:"varint,2,opt,name=style,proto3,enum=google.cloud.apihub.v1.DiscoveredApiObservation_Style" json:"style,omitempty"`
	// Optional. The IP address (IPv4 or IPv6) of the origin server that the
	// request was sent to. This field can include port information. Examples:
	// `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
	ServerIps []string `protobuf:"bytes,3,rep,name=server_ips,json=serverIps,proto3" json:"server_ips,omitempty"`
	// Optional. The hostname of requests processed for this Observation.
	Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Optional. Last event detected time stamp
	LastEventDetectedTime *timestamppb.Timestamp `` /* 128-byte string literal not displayed */
	// Optional. The location of the observation source.
	SourceLocations []string `protobuf:"bytes,6,rep,name=source_locations,json=sourceLocations,proto3" json:"source_locations,omitempty"`
	// Optional. The number of observed API Operations.
	ApiOperationCount int64 `protobuf:"varint,7,opt,name=api_operation_count,json=apiOperationCount,proto3" json:"api_operation_count,omitempty"`
	// Optional. For an observation pushed from a gcp resource, this would be the
	// gcp project id.
	Origin string `protobuf:"bytes,8,opt,name=origin,proto3" json:"origin,omitempty"`
	// Optional. The type of the source from which the observation was collected.
	SourceTypes []DiscoveredApiObservation_SourceType `` /* 166-byte string literal not displayed */
	// Output only. The number of known API Operations.
	KnownOperationsCount int64 `protobuf:"varint,10,opt,name=known_operations_count,json=knownOperationsCount,proto3" json:"known_operations_count,omitempty"`
	// Output only. The number of unknown API Operations.
	UnknownOperationsCount int64 `` /* 131-byte string literal not displayed */
	// Output only. Create time stamp of the observation in API Hub.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update time stamp of the observation in API Hub.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The metadata of the source from which the observation was
	// collected.
	SourceMetadata *SourceMetadata `protobuf:"bytes,14,opt,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// contains filtered or unexported fields
}

Respresents an API Observation observed in one of the sources.

func (*DiscoveredApiObservation) Descriptor deprecated added in v0.2.0

func (*DiscoveredApiObservation) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveredApiObservation.ProtoReflect.Descriptor instead.

func (*DiscoveredApiObservation) GetApiOperationCount added in v0.2.0

func (x *DiscoveredApiObservation) GetApiOperationCount() int64

func (*DiscoveredApiObservation) GetCreateTime added in v0.2.0

func (x *DiscoveredApiObservation) GetCreateTime() *timestamppb.Timestamp

func (*DiscoveredApiObservation) GetHostname added in v0.2.0

func (x *DiscoveredApiObservation) GetHostname() string

func (*DiscoveredApiObservation) GetKnownOperationsCount added in v0.2.0

func (x *DiscoveredApiObservation) GetKnownOperationsCount() int64

func (*DiscoveredApiObservation) GetLastEventDetectedTime added in v0.2.0

func (x *DiscoveredApiObservation) GetLastEventDetectedTime() *timestamppb.Timestamp

func (*DiscoveredApiObservation) GetName added in v0.2.0

func (x *DiscoveredApiObservation) GetName() string

func (*DiscoveredApiObservation) GetOrigin added in v0.2.0

func (x *DiscoveredApiObservation) GetOrigin() string

func (*DiscoveredApiObservation) GetServerIps added in v0.2.0

func (x *DiscoveredApiObservation) GetServerIps() []string

func (*DiscoveredApiObservation) GetSourceLocations added in v0.2.0

func (x *DiscoveredApiObservation) GetSourceLocations() []string

func (*DiscoveredApiObservation) GetSourceMetadata added in v0.2.0

func (x *DiscoveredApiObservation) GetSourceMetadata() *SourceMetadata

func (*DiscoveredApiObservation) GetSourceTypes added in v0.2.0

func (*DiscoveredApiObservation) GetStyle added in v0.2.0

func (*DiscoveredApiObservation) GetUnknownOperationsCount added in v0.2.0

func (x *DiscoveredApiObservation) GetUnknownOperationsCount() int64

func (*DiscoveredApiObservation) GetUpdateTime added in v0.2.0

func (x *DiscoveredApiObservation) GetUpdateTime() *timestamppb.Timestamp

func (*DiscoveredApiObservation) ProtoMessage added in v0.2.0

func (*DiscoveredApiObservation) ProtoMessage()

func (*DiscoveredApiObservation) ProtoReflect added in v0.2.0

func (x *DiscoveredApiObservation) ProtoReflect() protoreflect.Message

func (*DiscoveredApiObservation) Reset added in v0.2.0

func (x *DiscoveredApiObservation) Reset()

func (*DiscoveredApiObservation) String added in v0.2.0

func (x *DiscoveredApiObservation) String() string

type DiscoveredApiObservation_SourceType added in v0.2.0

type DiscoveredApiObservation_SourceType int32

The possible types of the source from which the observation was collected.

const (
	// Source type not specified.
	DiscoveredApiObservation_SOURCE_TYPE_UNSPECIFIED DiscoveredApiObservation_SourceType = 0
	// GCP external load balancer.
	DiscoveredApiObservation_GCP_XLB DiscoveredApiObservation_SourceType = 1
	// GCP internal load balancer.
	DiscoveredApiObservation_GCP_ILB DiscoveredApiObservation_SourceType = 2
)

func (DiscoveredApiObservation_SourceType) Descriptor added in v0.2.0

func (DiscoveredApiObservation_SourceType) Enum added in v0.2.0

func (DiscoveredApiObservation_SourceType) EnumDescriptor deprecated added in v0.2.0

func (DiscoveredApiObservation_SourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiscoveredApiObservation_SourceType.Descriptor instead.

func (DiscoveredApiObservation_SourceType) Number added in v0.2.0

func (DiscoveredApiObservation_SourceType) String added in v0.2.0

func (DiscoveredApiObservation_SourceType) Type added in v0.2.0

type DiscoveredApiObservation_Style added in v0.2.0

type DiscoveredApiObservation_Style int32

DiscoveredApiObservation protocol style

const (
	// Unknown style
	DiscoveredApiObservation_STYLE_UNSPECIFIED DiscoveredApiObservation_Style = 0
	// Style is Rest API
	DiscoveredApiObservation_REST DiscoveredApiObservation_Style = 1
	// Style is Grpc API
	DiscoveredApiObservation_GRPC DiscoveredApiObservation_Style = 2
	// Style is GraphQL API
	DiscoveredApiObservation_GRAPHQL DiscoveredApiObservation_Style = 3
)

func (DiscoveredApiObservation_Style) Descriptor added in v0.2.0

func (DiscoveredApiObservation_Style) Enum added in v0.2.0

func (DiscoveredApiObservation_Style) EnumDescriptor deprecated added in v0.2.0

func (DiscoveredApiObservation_Style) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiscoveredApiObservation_Style.Descriptor instead.

func (DiscoveredApiObservation_Style) Number added in v0.2.0

func (DiscoveredApiObservation_Style) String added in v0.2.0

func (DiscoveredApiObservation_Style) Type added in v0.2.0

type DiscoveredApiOperation added in v0.2.0

type DiscoveredApiOperation struct {

	// ApiOperation protocol style
	//
	// Types that are assignable to Operation:
	//
	//	*DiscoveredApiOperation_HttpOperation
	Operation isDiscoveredApiOperation_Operation `protobuf_oneof:"operation"`
	// Identifier. The name of the discovered API Operation.
	//
	// Format:
	// `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. First seen time stamp
	FirstSeenTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=first_seen_time,json=firstSeenTime,proto3" json:"first_seen_time,omitempty"`
	// Optional. Last seen time stamp
	LastSeenTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"`
	// Optional. The number of occurrences of this API Operation.
	Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"`
	// Output only. The classification of the discovered API operation.
	Classification DiscoveredApiOperation_Classification `` /* 148-byte string literal not displayed */
	// Output only. The list of matched results for the discovered API operation.
	// This will be populated only if the classification is known. The current
	// usecase is for a single match. Keeping it repeated to support multiple
	// matches in future.
	MatchResults []*DiscoveredApiOperation_MatchResult `protobuf:"bytes,7,rep,name=match_results,json=matchResults,proto3" json:"match_results,omitempty"`
	// Output only. The metadata of the source from which the api operation was
	// collected.
	SourceMetadata *SourceMetadata `protobuf:"bytes,8,opt,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// Output only. Create time stamp of the discovered API operation in API Hub.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update time stamp of the discovered API operation in API Hub.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

DiscoveredApiOperation represents an API Operation observed in one of the sources.

func (*DiscoveredApiOperation) Descriptor deprecated added in v0.2.0

func (*DiscoveredApiOperation) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveredApiOperation.ProtoReflect.Descriptor instead.

func (*DiscoveredApiOperation) GetClassification added in v0.2.0

func (*DiscoveredApiOperation) GetCount added in v0.2.0

func (x *DiscoveredApiOperation) GetCount() int64

func (*DiscoveredApiOperation) GetCreateTime added in v0.2.0

func (x *DiscoveredApiOperation) GetCreateTime() *timestamppb.Timestamp

func (*DiscoveredApiOperation) GetFirstSeenTime added in v0.2.0

func (x *DiscoveredApiOperation) GetFirstSeenTime() *timestamppb.Timestamp

func (*DiscoveredApiOperation) GetHttpOperation added in v0.2.0

func (x *DiscoveredApiOperation) GetHttpOperation() *HttpOperationDetails

func (*DiscoveredApiOperation) GetLastSeenTime added in v0.2.0

func (x *DiscoveredApiOperation) GetLastSeenTime() *timestamppb.Timestamp

func (*DiscoveredApiOperation) GetMatchResults added in v0.2.0

func (*DiscoveredApiOperation) GetName added in v0.2.0

func (x *DiscoveredApiOperation) GetName() string

func (*DiscoveredApiOperation) GetOperation added in v0.2.0

func (m *DiscoveredApiOperation) GetOperation() isDiscoveredApiOperation_Operation

func (*DiscoveredApiOperation) GetSourceMetadata added in v0.2.0

func (x *DiscoveredApiOperation) GetSourceMetadata() *SourceMetadata

func (*DiscoveredApiOperation) GetUpdateTime added in v0.2.0

func (x *DiscoveredApiOperation) GetUpdateTime() *timestamppb.Timestamp

func (*DiscoveredApiOperation) ProtoMessage added in v0.2.0

func (*DiscoveredApiOperation) ProtoMessage()

func (*DiscoveredApiOperation) ProtoReflect added in v0.2.0

func (x *DiscoveredApiOperation) ProtoReflect() protoreflect.Message

func (*DiscoveredApiOperation) Reset added in v0.2.0

func (x *DiscoveredApiOperation) Reset()

func (*DiscoveredApiOperation) String added in v0.2.0

func (x *DiscoveredApiOperation) String() string

type DiscoveredApiOperation_Classification added in v0.2.0

type DiscoveredApiOperation_Classification int32

The classification of the discovered API operation.

const (
	// Operation is not classified as known or unknown.
	DiscoveredApiOperation_CLASSIFICATION_UNSPECIFIED DiscoveredApiOperation_Classification = 0
	// Operation has a matched catalog operation.
	DiscoveredApiOperation_KNOWN DiscoveredApiOperation_Classification = 1
	// Operation does not have a matched catalog operation.
	DiscoveredApiOperation_UNKNOWN DiscoveredApiOperation_Classification = 2
)

func (DiscoveredApiOperation_Classification) Descriptor added in v0.2.0

func (DiscoveredApiOperation_Classification) Enum added in v0.2.0

func (DiscoveredApiOperation_Classification) EnumDescriptor deprecated added in v0.2.0

func (DiscoveredApiOperation_Classification) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiscoveredApiOperation_Classification.Descriptor instead.

func (DiscoveredApiOperation_Classification) Number added in v0.2.0

func (DiscoveredApiOperation_Classification) String added in v0.2.0

func (DiscoveredApiOperation_Classification) Type added in v0.2.0

type DiscoveredApiOperation_HttpOperation added in v0.2.0

type DiscoveredApiOperation_HttpOperation struct {
	// Optional. An HTTP Operation.
	HttpOperation *HttpOperationDetails `protobuf:"bytes,2,opt,name=http_operation,json=httpOperation,proto3,oneof"`
}

type DiscoveredApiOperation_MatchResult added in v0.2.0

type DiscoveredApiOperation_MatchResult struct {

	// Output only. The name of the matched API Operation.
	//
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

MatchResult represents the result of matching a discovered API operation with a catalog API operation.

func (*DiscoveredApiOperation_MatchResult) Descriptor deprecated added in v0.2.0

func (*DiscoveredApiOperation_MatchResult) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveredApiOperation_MatchResult.ProtoReflect.Descriptor instead.

func (*DiscoveredApiOperation_MatchResult) GetName added in v0.2.0

func (*DiscoveredApiOperation_MatchResult) ProtoMessage added in v0.2.0

func (*DiscoveredApiOperation_MatchResult) ProtoMessage()

func (*DiscoveredApiOperation_MatchResult) ProtoReflect added in v0.2.0

func (*DiscoveredApiOperation_MatchResult) Reset added in v0.2.0

func (*DiscoveredApiOperation_MatchResult) String added in v0.2.0

type Documentation

type Documentation struct {

	// Optional. The uri of the externally hosted documentation.
	ExternalUri string `protobuf:"bytes,1,opt,name=external_uri,json=externalUri,proto3" json:"external_uri,omitempty"`
	// contains filtered or unexported fields
}

Documentation details.

func (*Documentation) Descriptor deprecated

func (*Documentation) Descriptor() ([]byte, []int)

Deprecated: Use Documentation.ProtoReflect.Descriptor instead.

func (*Documentation) GetExternalUri

func (x *Documentation) GetExternalUri() string

func (*Documentation) ProtoMessage

func (*Documentation) ProtoMessage()

func (*Documentation) ProtoReflect

func (x *Documentation) ProtoReflect() protoreflect.Message

func (*Documentation) Reset

func (x *Documentation) Reset()

func (*Documentation) String

func (x *Documentation) String() string

type EnablePluginInstanceActionRequest added in v0.2.0

type EnablePluginInstanceActionRequest struct {

	// Required. The name of the plugin instance to enable.
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The action id to enable.
	ActionId string `protobuf:"bytes,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// contains filtered or unexported fields
}

The [EnablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.EnablePluginInstanceAction] method's request.

func (*EnablePluginInstanceActionRequest) Descriptor deprecated added in v0.2.0

func (*EnablePluginInstanceActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnablePluginInstanceActionRequest.ProtoReflect.Descriptor instead.

func (*EnablePluginInstanceActionRequest) GetActionId added in v0.2.0

func (x *EnablePluginInstanceActionRequest) GetActionId() string

func (*EnablePluginInstanceActionRequest) GetName added in v0.2.0

func (*EnablePluginInstanceActionRequest) ProtoMessage added in v0.2.0

func (*EnablePluginInstanceActionRequest) ProtoMessage()

func (*EnablePluginInstanceActionRequest) ProtoReflect added in v0.2.0

func (*EnablePluginInstanceActionRequest) Reset added in v0.2.0

func (*EnablePluginInstanceActionRequest) String added in v0.2.0

type EnablePluginInstanceActionResponse added in v0.2.0

type EnablePluginInstanceActionResponse struct {
	// contains filtered or unexported fields
}

The [EnablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.EnablePluginInstanceAction] method's response.

func (*EnablePluginInstanceActionResponse) Descriptor deprecated added in v0.2.0

func (*EnablePluginInstanceActionResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnablePluginInstanceActionResponse.ProtoReflect.Descriptor instead.

func (*EnablePluginInstanceActionResponse) ProtoMessage added in v0.2.0

func (*EnablePluginInstanceActionResponse) ProtoMessage()

func (*EnablePluginInstanceActionResponse) ProtoReflect added in v0.2.0

func (*EnablePluginInstanceActionResponse) Reset added in v0.2.0

func (*EnablePluginInstanceActionResponse) String added in v0.2.0

type EnablePluginRequest

type EnablePluginRequest struct {

	// Required. The name of the plugin to enable.
	// Format: `projects/{project}/locations/{location}/plugins/{plugin}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [EnablePlugin][google.cloud.apihub.v1.ApiHubPlugin.EnablePlugin] method's request.

func (*EnablePluginRequest) Descriptor deprecated

func (*EnablePluginRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnablePluginRequest.ProtoReflect.Descriptor instead.

func (*EnablePluginRequest) GetName

func (x *EnablePluginRequest) GetName() string

func (*EnablePluginRequest) ProtoMessage

func (*EnablePluginRequest) ProtoMessage()

func (*EnablePluginRequest) ProtoReflect

func (x *EnablePluginRequest) ProtoReflect() protoreflect.Message

func (*EnablePluginRequest) Reset

func (x *EnablePluginRequest) Reset()

func (*EnablePluginRequest) String

func (x *EnablePluginRequest) String() string

type Endpoint added in v0.2.0

type Endpoint struct {

	// The details of the endpoint to be triggered for curation.
	//
	// Types that are assignable to EndpointDetails:
	//
	//	*Endpoint_ApplicationIntegrationEndpointDetails
	EndpointDetails isEndpoint_EndpointDetails `protobuf_oneof:"endpoint_details"`
	// contains filtered or unexported fields
}

The endpoint to be triggered for curation. The endpoint will be invoked with a request payload containing [ApiMetadata][google.cloud.apihub.v1.ApiHub.ApiMetadata]. Response should contain curated data in the form of [ApiMetadata][google.cloud.apihub.v1.ApiHub.ApiMetadata].

func (*Endpoint) Descriptor deprecated added in v0.2.0

func (*Endpoint) Descriptor() ([]byte, []int)

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetApplicationIntegrationEndpointDetails added in v0.2.0

func (x *Endpoint) GetApplicationIntegrationEndpointDetails() *ApplicationIntegrationEndpointDetails

func (*Endpoint) GetEndpointDetails added in v0.2.0

func (m *Endpoint) GetEndpointDetails() isEndpoint_EndpointDetails

func (*Endpoint) ProtoMessage added in v0.2.0

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect added in v0.2.0

func (x *Endpoint) ProtoReflect() protoreflect.Message

func (*Endpoint) Reset added in v0.2.0

func (x *Endpoint) Reset()

func (*Endpoint) String added in v0.2.0

func (x *Endpoint) String() string

type Endpoint_ApplicationIntegrationEndpointDetails added in v0.2.0

type Endpoint_ApplicationIntegrationEndpointDetails struct {
	// Required. The details of the Application Integration endpoint to be
	// triggered for curation.
	ApplicationIntegrationEndpointDetails *ApplicationIntegrationEndpointDetails `protobuf:"bytes,1,opt,name=application_integration_endpoint_details,json=applicationIntegrationEndpointDetails,proto3,oneof"`
}

type ExecutePluginInstanceActionRequest added in v0.2.0

type ExecutePluginInstanceActionRequest struct {

	// Required. The name of the plugin instance to execute.
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The execution details for the action to execute.
	ActionExecutionDetail *ActionExecutionDetail `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

The [ExecutePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction] method's request.

func (*ExecutePluginInstanceActionRequest) Descriptor deprecated added in v0.2.0

func (*ExecutePluginInstanceActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExecutePluginInstanceActionRequest.ProtoReflect.Descriptor instead.

func (*ExecutePluginInstanceActionRequest) GetActionExecutionDetail added in v0.2.0

func (x *ExecutePluginInstanceActionRequest) GetActionExecutionDetail() *ActionExecutionDetail

func (*ExecutePluginInstanceActionRequest) GetName added in v0.2.0

func (*ExecutePluginInstanceActionRequest) ProtoMessage added in v0.2.0

func (*ExecutePluginInstanceActionRequest) ProtoMessage()

func (*ExecutePluginInstanceActionRequest) ProtoReflect added in v0.2.0

func (*ExecutePluginInstanceActionRequest) Reset added in v0.2.0

func (*ExecutePluginInstanceActionRequest) String added in v0.2.0

type ExecutePluginInstanceActionResponse added in v0.2.0

type ExecutePluginInstanceActionResponse struct {
	// contains filtered or unexported fields
}

The [ExecutePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction] method's response.

func (*ExecutePluginInstanceActionResponse) Descriptor deprecated added in v0.2.0

func (*ExecutePluginInstanceActionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecutePluginInstanceActionResponse.ProtoReflect.Descriptor instead.

func (*ExecutePluginInstanceActionResponse) ProtoMessage added in v0.2.0

func (*ExecutePluginInstanceActionResponse) ProtoMessage()

func (*ExecutePluginInstanceActionResponse) ProtoReflect added in v0.2.0

func (*ExecutePluginInstanceActionResponse) Reset added in v0.2.0

func (*ExecutePluginInstanceActionResponse) String added in v0.2.0

type ExecutionStatus added in v0.2.0

type ExecutionStatus struct {

	// Output only. The current state of the execution.
	CurrentExecutionState ExecutionStatus_CurrentExecutionState `` /* 193-byte string literal not displayed */
	// Output only. The last execution of the plugin instance.
	LastExecution *ExecutionStatus_LastExecution `protobuf:"bytes,2,opt,name=last_execution,json=lastExecution,proto3" json:"last_execution,omitempty"`
	// contains filtered or unexported fields
}

The execution status for the plugin instance.

func (*ExecutionStatus) Descriptor deprecated added in v0.2.0

func (*ExecutionStatus) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionStatus.ProtoReflect.Descriptor instead.

func (*ExecutionStatus) GetCurrentExecutionState added in v0.2.0

func (x *ExecutionStatus) GetCurrentExecutionState() ExecutionStatus_CurrentExecutionState

func (*ExecutionStatus) GetLastExecution added in v0.2.0

func (x *ExecutionStatus) GetLastExecution() *ExecutionStatus_LastExecution

func (*ExecutionStatus) ProtoMessage added in v0.2.0

func (*ExecutionStatus) ProtoMessage()

func (*ExecutionStatus) ProtoReflect added in v0.2.0

func (x *ExecutionStatus) ProtoReflect() protoreflect.Message

func (*ExecutionStatus) Reset added in v0.2.0

func (x *ExecutionStatus) Reset()

func (*ExecutionStatus) String added in v0.2.0

func (x *ExecutionStatus) String() string

type ExecutionStatus_CurrentExecutionState added in v0.2.0

type ExecutionStatus_CurrentExecutionState int32

Enum for the current state of the execution.

const (
	// Default unspecified execution state.
	ExecutionStatus_CURRENT_EXECUTION_STATE_UNSPECIFIED ExecutionStatus_CurrentExecutionState = 0
	// The plugin instance is executing.
	ExecutionStatus_RUNNING ExecutionStatus_CurrentExecutionState = 1
	// The plugin instance is not running an execution.
	ExecutionStatus_NOT_RUNNING ExecutionStatus_CurrentExecutionState = 2
)

func (ExecutionStatus_CurrentExecutionState) Descriptor added in v0.2.0

func (ExecutionStatus_CurrentExecutionState) Enum added in v0.2.0

func (ExecutionStatus_CurrentExecutionState) EnumDescriptor deprecated added in v0.2.0

func (ExecutionStatus_CurrentExecutionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExecutionStatus_CurrentExecutionState.Descriptor instead.

func (ExecutionStatus_CurrentExecutionState) Number added in v0.2.0

func (ExecutionStatus_CurrentExecutionState) String added in v0.2.0

func (ExecutionStatus_CurrentExecutionState) Type added in v0.2.0

type ExecutionStatus_LastExecution added in v0.2.0

type ExecutionStatus_LastExecution struct {

	// Output only. The result of the last execution of the plugin instance.
	Result ExecutionStatus_LastExecution_Result `` /* 131-byte string literal not displayed */
	// Output only. Error message describing the failure, if any, during the
	// last execution.
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// Output only. The last execution start time of the plugin instance.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Output only. The last execution end time of the plugin instance.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

The result of the last execution of the plugin instance.

func (*ExecutionStatus_LastExecution) Descriptor deprecated added in v0.2.0

func (*ExecutionStatus_LastExecution) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionStatus_LastExecution.ProtoReflect.Descriptor instead.

func (*ExecutionStatus_LastExecution) GetEndTime added in v0.2.0

func (*ExecutionStatus_LastExecution) GetErrorMessage added in v0.2.0

func (x *ExecutionStatus_LastExecution) GetErrorMessage() string

func (*ExecutionStatus_LastExecution) GetResult added in v0.2.0

func (*ExecutionStatus_LastExecution) GetStartTime added in v0.2.0

func (*ExecutionStatus_LastExecution) ProtoMessage added in v0.2.0

func (*ExecutionStatus_LastExecution) ProtoMessage()

func (*ExecutionStatus_LastExecution) ProtoReflect added in v0.2.0

func (*ExecutionStatus_LastExecution) Reset added in v0.2.0

func (x *ExecutionStatus_LastExecution) Reset()

func (*ExecutionStatus_LastExecution) String added in v0.2.0

type ExecutionStatus_LastExecution_Result added in v0.2.0

type ExecutionStatus_LastExecution_Result int32

Enum for the result of the last execution of the plugin instance.

const (
	// Default unspecified execution result.
	ExecutionStatus_LastExecution_RESULT_UNSPECIFIED ExecutionStatus_LastExecution_Result = 0
	// The plugin instance executed successfully.
	ExecutionStatus_LastExecution_SUCCEEDED ExecutionStatus_LastExecution_Result = 1
	// The plugin instance execution failed.
	ExecutionStatus_LastExecution_FAILED ExecutionStatus_LastExecution_Result = 2
)

func (ExecutionStatus_LastExecution_Result) Descriptor added in v0.2.0

func (ExecutionStatus_LastExecution_Result) Enum added in v0.2.0

func (ExecutionStatus_LastExecution_Result) EnumDescriptor deprecated added in v0.2.0

func (ExecutionStatus_LastExecution_Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExecutionStatus_LastExecution_Result.Descriptor instead.

func (ExecutionStatus_LastExecution_Result) Number added in v0.2.0

func (ExecutionStatus_LastExecution_Result) String added in v0.2.0

func (ExecutionStatus_LastExecution_Result) Type added in v0.2.0

type ExternalApi

type ExternalApi struct {

	// Identifier. Format:
	// `projects/{project}/locations/{location}/externalApi/{externalApi}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Display name of the external API. Max length is 63 characters
	// (Unicode Code Points).
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. Description of the external API. Max length is 2000 characters
	// (Unicode Code Points).
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. List of endpoints on which this API is accessible.
	Endpoints []string `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Optional. List of paths served by this API.
	Paths []string `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
	// Optional. Documentation of the external API.
	Documentation *Documentation `protobuf:"bytes,6,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Optional. The list of user defined attributes associated with the Version
	// resource. The key is the attribute name. It will be of the format:
	// `projects/{project}/locations/{location}/attributes/{attribute}`.
	// The value is the attribute values associated with the resource.
	Attributes map[string]*AttributeValues `` /* 161-byte string literal not displayed */
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.

func (*ExternalApi) Descriptor deprecated

func (*ExternalApi) Descriptor() ([]byte, []int)

Deprecated: Use ExternalApi.ProtoReflect.Descriptor instead.

func (*ExternalApi) GetAttributes

func (x *ExternalApi) GetAttributes() map[string]*AttributeValues

func (*ExternalApi) GetCreateTime

func (x *ExternalApi) GetCreateTime() *timestamppb.Timestamp

func (*ExternalApi) GetDescription

func (x *ExternalApi) GetDescription() string

func (*ExternalApi) GetDisplayName

func (x *ExternalApi) GetDisplayName() string

func (*ExternalApi) GetDocumentation

func (x *ExternalApi) GetDocumentation() *Documentation

func (*ExternalApi) GetEndpoints

func (x *ExternalApi) GetEndpoints() []string

func (*ExternalApi) GetName

func (x *ExternalApi) GetName() string

func (*ExternalApi) GetPaths

func (x *ExternalApi) GetPaths() []string

func (*ExternalApi) GetUpdateTime

func (x *ExternalApi) GetUpdateTime() *timestamppb.Timestamp

func (*ExternalApi) ProtoMessage

func (*ExternalApi) ProtoMessage()

func (*ExternalApi) ProtoReflect

func (x *ExternalApi) ProtoReflect() protoreflect.Message

func (*ExternalApi) Reset

func (x *ExternalApi) Reset()

func (*ExternalApi) String

func (x *ExternalApi) String() string

type GatewayType added in v0.2.0

type GatewayType int32

Enum for the gateway type.

const (
	// The gateway type is not specified.
	GatewayType_GATEWAY_TYPE_UNSPECIFIED GatewayType = 0
	// The gateway type is Apigee X and Hybrid.
	GatewayType_APIGEE_X_AND_HYBRID GatewayType = 1
	// The gateway type is Apigee Edge Public Cloud.
	GatewayType_APIGEE_EDGE_PUBLIC_CLOUD GatewayType = 2
	// The gateway type is Apigee Edge Private Cloud.
	GatewayType_APIGEE_EDGE_PRIVATE_CLOUD GatewayType = 3
	// The gateway type is Cloud API Gateway.
	GatewayType_CLOUD_API_GATEWAY GatewayType = 4
	// The gateway type is Cloud Endpoints.
	GatewayType_CLOUD_ENDPOINTS GatewayType = 5
	// The gateway type is API Discovery.
	GatewayType_API_DISCOVERY GatewayType = 6
	// The gateway type for any other types of gateways.
	GatewayType_OTHERS GatewayType = 7
)

func (GatewayType) Descriptor added in v0.2.0

func (GatewayType) Enum added in v0.2.0

func (x GatewayType) Enum() *GatewayType

func (GatewayType) EnumDescriptor deprecated added in v0.2.0

func (GatewayType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GatewayType.Descriptor instead.

func (GatewayType) Number added in v0.2.0

func (x GatewayType) Number() protoreflect.EnumNumber

func (GatewayType) String added in v0.2.0

func (x GatewayType) String() string

func (GatewayType) Type added in v0.2.0

type GetApiHubInstanceRequest

type GetApiHubInstanceRequest struct {

	// Required. The name of the Api Hub instance to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetApiHubInstance][google.cloud.apihub.v1.Provisioning.GetApiHubInstance] method's request.

func (*GetApiHubInstanceRequest) Descriptor deprecated

func (*GetApiHubInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetApiHubInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetApiHubInstanceRequest) GetName

func (x *GetApiHubInstanceRequest) GetName() string

func (*GetApiHubInstanceRequest) ProtoMessage

func (*GetApiHubInstanceRequest) ProtoMessage()

func (*GetApiHubInstanceRequest) ProtoReflect

func (x *GetApiHubInstanceRequest) ProtoReflect() protoreflect.Message

func (*GetApiHubInstanceRequest) Reset

func (x *GetApiHubInstanceRequest) Reset()

func (*GetApiHubInstanceRequest) String

func (x *GetApiHubInstanceRequest) String() string

type GetApiOperationRequest

type GetApiOperationRequest struct {

	// Required. The name of the operation to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetApiOperation][google.cloud.apihub.v1.ApiHub.GetApiOperation] method's request.

func (*GetApiOperationRequest) Descriptor deprecated

func (*GetApiOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetApiOperationRequest.ProtoReflect.Descriptor instead.

func (*GetApiOperationRequest) GetName

func (x *GetApiOperationRequest) GetName() string

func (*GetApiOperationRequest) ProtoMessage

func (*GetApiOperationRequest) ProtoMessage()

func (*GetApiOperationRequest) ProtoReflect

func (x *GetApiOperationRequest) ProtoReflect() protoreflect.Message

func (*GetApiOperationRequest) Reset

func (x *GetApiOperationRequest) Reset()

func (*GetApiOperationRequest) String

func (x *GetApiOperationRequest) String() string

type GetApiRequest

type GetApiRequest struct {

	// Required. The name of the API resource to retrieve.
	// Format: `projects/{project}/locations/{location}/apis/{api}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetApi][google.cloud.apihub.v1.ApiHub.GetApi] method's request.

func (*GetApiRequest) Descriptor deprecated

func (*GetApiRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetApiRequest.ProtoReflect.Descriptor instead.

func (*GetApiRequest) GetName

func (x *GetApiRequest) GetName() string

func (*GetApiRequest) ProtoMessage

func (*GetApiRequest) ProtoMessage()

func (*GetApiRequest) ProtoReflect

func (x *GetApiRequest) ProtoReflect() protoreflect.Message

func (*GetApiRequest) Reset

func (x *GetApiRequest) Reset()

func (*GetApiRequest) String

func (x *GetApiRequest) String() string

type GetAttributeRequest

type GetAttributeRequest struct {

	// Required. The name of the attribute to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/attributes/{attribute}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetAttribute][google.cloud.apihub.v1.ApiHub.GetAttribute] method's request.

func (*GetAttributeRequest) Descriptor deprecated

func (*GetAttributeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAttributeRequest.ProtoReflect.Descriptor instead.

func (*GetAttributeRequest) GetName

func (x *GetAttributeRequest) GetName() string

func (*GetAttributeRequest) ProtoMessage

func (*GetAttributeRequest) ProtoMessage()

func (*GetAttributeRequest) ProtoReflect

func (x *GetAttributeRequest) ProtoReflect() protoreflect.Message

func (*GetAttributeRequest) Reset

func (x *GetAttributeRequest) Reset()

func (*GetAttributeRequest) String

func (x *GetAttributeRequest) String() string

type GetCurationRequest added in v0.2.0

type GetCurationRequest struct {

	// Required. The name of the curation resource to retrieve.
	// Format: `projects/{project}/locations/{location}/curations/{curation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetCuration][ApiHub.GetCuration] method's request.

func (*GetCurationRequest) Descriptor deprecated added in v0.2.0

func (*GetCurationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCurationRequest.ProtoReflect.Descriptor instead.

func (*GetCurationRequest) GetName added in v0.2.0

func (x *GetCurationRequest) GetName() string

func (*GetCurationRequest) ProtoMessage added in v0.2.0

func (*GetCurationRequest) ProtoMessage()

func (*GetCurationRequest) ProtoReflect added in v0.2.0

func (x *GetCurationRequest) ProtoReflect() protoreflect.Message

func (*GetCurationRequest) Reset added in v0.2.0

func (x *GetCurationRequest) Reset()

func (*GetCurationRequest) String added in v0.2.0

func (x *GetCurationRequest) String() string

type GetDefinitionRequest

type GetDefinitionRequest struct {

	// Required. The name of the definition to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetDefinition][google.cloud.apihub.v1.ApiHub.GetDefinition] method's request.

func (*GetDefinitionRequest) Descriptor deprecated

func (*GetDefinitionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDefinitionRequest.ProtoReflect.Descriptor instead.

func (*GetDefinitionRequest) GetName

func (x *GetDefinitionRequest) GetName() string

func (*GetDefinitionRequest) ProtoMessage

func (*GetDefinitionRequest) ProtoMessage()

func (*GetDefinitionRequest) ProtoReflect

func (x *GetDefinitionRequest) ProtoReflect() protoreflect.Message

func (*GetDefinitionRequest) Reset

func (x *GetDefinitionRequest) Reset()

func (*GetDefinitionRequest) String

func (x *GetDefinitionRequest) String() string

type GetDependencyRequest

type GetDependencyRequest struct {

	// Required. The name of the dependency resource to retrieve.
	// Format: `projects/{project}/locations/{location}/dependencies/{dependency}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetDependency][.ApiHubDependencies.GetDependency] method's request.

func (*GetDependencyRequest) Descriptor deprecated

func (*GetDependencyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDependencyRequest.ProtoReflect.Descriptor instead.

func (*GetDependencyRequest) GetName

func (x *GetDependencyRequest) GetName() string

func (*GetDependencyRequest) ProtoMessage

func (*GetDependencyRequest) ProtoMessage()

func (*GetDependencyRequest) ProtoReflect

func (x *GetDependencyRequest) ProtoReflect() protoreflect.Message

func (*GetDependencyRequest) Reset

func (x *GetDependencyRequest) Reset()

func (*GetDependencyRequest) String

func (x *GetDependencyRequest) String() string

type GetDeploymentRequest

type GetDeploymentRequest struct {

	// Required. The name of the deployment resource to retrieve.
	// Format: `projects/{project}/locations/{location}/deployments/{deployment}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetDeployment][google.cloud.apihub.v1.ApiHub.GetDeployment] method's request.

func (*GetDeploymentRequest) Descriptor deprecated

func (*GetDeploymentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeploymentRequest.ProtoReflect.Descriptor instead.

func (*GetDeploymentRequest) GetName

func (x *GetDeploymentRequest) GetName() string

func (*GetDeploymentRequest) ProtoMessage

func (*GetDeploymentRequest) ProtoMessage()

func (*GetDeploymentRequest) ProtoReflect

func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message

func (*GetDeploymentRequest) Reset

func (x *GetDeploymentRequest) Reset()

func (*GetDeploymentRequest) String

func (x *GetDeploymentRequest) String() string

type GetDiscoveredApiObservationRequest added in v0.2.0

type GetDiscoveredApiObservationRequest struct {

	// Required. The name of the DiscoveredApiObservation to retrieve.
	// Format:
	// projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a DiscoveredApiObservation

func (*GetDiscoveredApiObservationRequest) Descriptor deprecated added in v0.2.0

func (*GetDiscoveredApiObservationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDiscoveredApiObservationRequest.ProtoReflect.Descriptor instead.

func (*GetDiscoveredApiObservationRequest) GetName added in v0.2.0

func (*GetDiscoveredApiObservationRequest) ProtoMessage added in v0.2.0

func (*GetDiscoveredApiObservationRequest) ProtoMessage()

func (*GetDiscoveredApiObservationRequest) ProtoReflect added in v0.2.0

func (*GetDiscoveredApiObservationRequest) Reset added in v0.2.0

func (*GetDiscoveredApiObservationRequest) String added in v0.2.0

type GetDiscoveredApiOperationRequest added in v0.2.0

type GetDiscoveredApiOperationRequest struct {

	// Required. The name of the DiscoveredApiOperation to retrieve.
	// Format:
	// projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a DiscoveredApiOperation

func (*GetDiscoveredApiOperationRequest) Descriptor deprecated added in v0.2.0

func (*GetDiscoveredApiOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDiscoveredApiOperationRequest.ProtoReflect.Descriptor instead.

func (*GetDiscoveredApiOperationRequest) GetName added in v0.2.0

func (*GetDiscoveredApiOperationRequest) ProtoMessage added in v0.2.0

func (*GetDiscoveredApiOperationRequest) ProtoMessage()

func (*GetDiscoveredApiOperationRequest) ProtoReflect added in v0.2.0

func (*GetDiscoveredApiOperationRequest) Reset added in v0.2.0

func (*GetDiscoveredApiOperationRequest) String added in v0.2.0

type GetExternalApiRequest

type GetExternalApiRequest struct {

	// Required. The name of the External API resource to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/externalApis/{externalApi}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetExternalApi][google.cloud.apihub.v1.ApiHub.GetExternalApi] method's request.

func (*GetExternalApiRequest) Descriptor deprecated

func (*GetExternalApiRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetExternalApiRequest.ProtoReflect.Descriptor instead.

func (*GetExternalApiRequest) GetName

func (x *GetExternalApiRequest) GetName() string

func (*GetExternalApiRequest) ProtoMessage

func (*GetExternalApiRequest) ProtoMessage()

func (*GetExternalApiRequest) ProtoReflect

func (x *GetExternalApiRequest) ProtoReflect() protoreflect.Message

func (*GetExternalApiRequest) Reset

func (x *GetExternalApiRequest) Reset()

func (*GetExternalApiRequest) String

func (x *GetExternalApiRequest) String() string

type GetHostProjectRegistrationRequest

type GetHostProjectRegistrationRequest struct {

	// Required. Host project registration resource name.
	// projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetHostProjectRegistration][google.cloud.apihub.v1.HostProjectRegistrationService.GetHostProjectRegistration] method's request.

func (*GetHostProjectRegistrationRequest) Descriptor deprecated

func (*GetHostProjectRegistrationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHostProjectRegistrationRequest.ProtoReflect.Descriptor instead.

func (*GetHostProjectRegistrationRequest) GetName

func (*GetHostProjectRegistrationRequest) ProtoMessage

func (*GetHostProjectRegistrationRequest) ProtoMessage()

func (*GetHostProjectRegistrationRequest) ProtoReflect

func (*GetHostProjectRegistrationRequest) Reset

func (*GetHostProjectRegistrationRequest) String

type GetPluginInstanceRequest added in v0.2.0

type GetPluginInstanceRequest struct {

	// Required. The name of the plugin instance to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetPluginInstance][google.cloud.apihub.v1.ApiHubPlugin.GetPluginInstance] method's request.

func (*GetPluginInstanceRequest) Descriptor deprecated added in v0.2.0

func (*GetPluginInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPluginInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetPluginInstanceRequest) GetName added in v0.2.0

func (x *GetPluginInstanceRequest) GetName() string

func (*GetPluginInstanceRequest) ProtoMessage added in v0.2.0

func (*GetPluginInstanceRequest) ProtoMessage()

func (*GetPluginInstanceRequest) ProtoReflect added in v0.2.0

func (x *GetPluginInstanceRequest) ProtoReflect() protoreflect.Message

func (*GetPluginInstanceRequest) Reset added in v0.2.0

func (x *GetPluginInstanceRequest) Reset()

func (*GetPluginInstanceRequest) String added in v0.2.0

func (x *GetPluginInstanceRequest) String() string

type GetPluginRequest

type GetPluginRequest struct {

	// Required. The name of the plugin to retrieve.
	// Format: `projects/{project}/locations/{location}/plugins/{plugin}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetPlugin][google.cloud.apihub.v1.ApiHubPlugin.GetPlugin] method's request.

func (*GetPluginRequest) Descriptor deprecated

func (*GetPluginRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPluginRequest.ProtoReflect.Descriptor instead.

func (*GetPluginRequest) GetName

func (x *GetPluginRequest) GetName() string

func (*GetPluginRequest) ProtoMessage

func (*GetPluginRequest) ProtoMessage()

func (*GetPluginRequest) ProtoReflect

func (x *GetPluginRequest) ProtoReflect() protoreflect.Message

func (*GetPluginRequest) Reset

func (x *GetPluginRequest) Reset()

func (*GetPluginRequest) String

func (x *GetPluginRequest) String() string

type GetRuntimeProjectAttachmentRequest

type GetRuntimeProjectAttachmentRequest struct {

	// Required. The name of the API resource to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetRuntimeProjectAttachment][google.cloud.apihub.v1.RuntimeProjectAttachmentService.GetRuntimeProjectAttachment] method's request.

func (*GetRuntimeProjectAttachmentRequest) Descriptor deprecated

func (*GetRuntimeProjectAttachmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRuntimeProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*GetRuntimeProjectAttachmentRequest) GetName

func (*GetRuntimeProjectAttachmentRequest) ProtoMessage

func (*GetRuntimeProjectAttachmentRequest) ProtoMessage()

func (*GetRuntimeProjectAttachmentRequest) ProtoReflect

func (*GetRuntimeProjectAttachmentRequest) Reset

func (*GetRuntimeProjectAttachmentRequest) String

type GetSpecContentsRequest

type GetSpecContentsRequest struct {

	// Required. The name of the spec whose contents need to be retrieved.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method's request.

func (*GetSpecContentsRequest) Descriptor deprecated

func (*GetSpecContentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSpecContentsRequest.ProtoReflect.Descriptor instead.

func (*GetSpecContentsRequest) GetName

func (x *GetSpecContentsRequest) GetName() string

func (*GetSpecContentsRequest) ProtoMessage

func (*GetSpecContentsRequest) ProtoMessage()

func (*GetSpecContentsRequest) ProtoReflect

func (x *GetSpecContentsRequest) ProtoReflect() protoreflect.Message

func (*GetSpecContentsRequest) Reset

func (x *GetSpecContentsRequest) Reset()

func (*GetSpecContentsRequest) String

func (x *GetSpecContentsRequest) String() string

type GetSpecRequest

type GetSpecRequest struct {

	// Required. The name of the spec to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method's request.

func (*GetSpecRequest) Descriptor deprecated

func (*GetSpecRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSpecRequest.ProtoReflect.Descriptor instead.

func (*GetSpecRequest) GetName

func (x *GetSpecRequest) GetName() string

func (*GetSpecRequest) ProtoMessage

func (*GetSpecRequest) ProtoMessage()

func (*GetSpecRequest) ProtoReflect

func (x *GetSpecRequest) ProtoReflect() protoreflect.Message

func (*GetSpecRequest) Reset

func (x *GetSpecRequest) Reset()

func (*GetSpecRequest) String

func (x *GetSpecRequest) String() string

type GetStyleGuideContentsRequest

type GetStyleGuideContentsRequest struct {

	// Required. The name of the StyleGuide whose contents need to be retrieved.
	// There is exactly one style guide resource per project per location.
	// The expected format is
	// `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetStyleGuideContents][google.cloud.apihub.v1.LintingService.GetStyleGuideContents] method's request.

func (*GetStyleGuideContentsRequest) Descriptor deprecated

func (*GetStyleGuideContentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStyleGuideContentsRequest.ProtoReflect.Descriptor instead.

func (*GetStyleGuideContentsRequest) GetName

func (x *GetStyleGuideContentsRequest) GetName() string

func (*GetStyleGuideContentsRequest) ProtoMessage

func (*GetStyleGuideContentsRequest) ProtoMessage()

func (*GetStyleGuideContentsRequest) ProtoReflect

func (*GetStyleGuideContentsRequest) Reset

func (x *GetStyleGuideContentsRequest) Reset()

func (*GetStyleGuideContentsRequest) String

type GetStyleGuideRequest

type GetStyleGuideRequest struct {

	// Required. The name of the spec to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetStyleGuide][google.cloud.apihub.v1.LintingService.GetStyleGuide] method's request.

func (*GetStyleGuideRequest) Descriptor deprecated

func (*GetStyleGuideRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStyleGuideRequest.ProtoReflect.Descriptor instead.

func (*GetStyleGuideRequest) GetName

func (x *GetStyleGuideRequest) GetName() string

func (*GetStyleGuideRequest) ProtoMessage

func (*GetStyleGuideRequest) ProtoMessage()

func (*GetStyleGuideRequest) ProtoReflect

func (x *GetStyleGuideRequest) ProtoReflect() protoreflect.Message

func (*GetStyleGuideRequest) Reset

func (x *GetStyleGuideRequest) Reset()

func (*GetStyleGuideRequest) String

func (x *GetStyleGuideRequest) String() string

type GetVersionRequest

type GetVersionRequest struct {

	// Required. The name of the API version to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [GetVersion][google.cloud.apihub.v1.ApiHub.GetVersion] method's request.

func (*GetVersionRequest) Descriptor deprecated

func (*GetVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.

func (*GetVersionRequest) GetName

func (x *GetVersionRequest) GetName() string

func (*GetVersionRequest) ProtoMessage

func (*GetVersionRequest) ProtoMessage()

func (*GetVersionRequest) ProtoReflect

func (x *GetVersionRequest) ProtoReflect() protoreflect.Message

func (*GetVersionRequest) Reset

func (x *GetVersionRequest) Reset()

func (*GetVersionRequest) String

func (x *GetVersionRequest) String() string

type GoogleServiceAccountConfig added in v0.2.0

type GoogleServiceAccountConfig struct {

	// Required. The service account to be used for authenticating request.
	//
	// The `iam.serviceAccounts.getAccessToken` permission should be granted on
	// this service account to the impersonator service account.
	ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

Config for Google service account authentication.

func (*GoogleServiceAccountConfig) Descriptor deprecated added in v0.2.0

func (*GoogleServiceAccountConfig) Descriptor() ([]byte, []int)

Deprecated: Use GoogleServiceAccountConfig.ProtoReflect.Descriptor instead.

func (*GoogleServiceAccountConfig) GetServiceAccount added in v0.2.0

func (x *GoogleServiceAccountConfig) GetServiceAccount() string

func (*GoogleServiceAccountConfig) ProtoMessage added in v0.2.0

func (*GoogleServiceAccountConfig) ProtoMessage()

func (*GoogleServiceAccountConfig) ProtoReflect added in v0.2.0

func (*GoogleServiceAccountConfig) Reset added in v0.2.0

func (x *GoogleServiceAccountConfig) Reset()

func (*GoogleServiceAccountConfig) String added in v0.2.0

func (x *GoogleServiceAccountConfig) String() string

type HostProjectRegistration

type HostProjectRegistration struct {

	// Identifier. The name of the host project registration.
	// Format:
	// "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. Google cloud project name in the format:
	// "projects/abc" or "projects/123". As input, project name with either
	// project id or number are accepted. As output, this field will contain
	// project number.
	GcpProject string `protobuf:"bytes,2,opt,name=gcp_project,json=gcpProject,proto3" json:"gcp_project,omitempty"`
	// Output only. The time at which the host project registration was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

Host project registration refers to the registration of a Google cloud project with Api Hub as a host project. This is the project where Api Hub is provisioned. It acts as the consumer project for the Api Hub instance provisioned. Multiple runtime projects can be attached to the host project and these attachments define the scope of Api Hub.

func (*HostProjectRegistration) Descriptor deprecated

func (*HostProjectRegistration) Descriptor() ([]byte, []int)

Deprecated: Use HostProjectRegistration.ProtoReflect.Descriptor instead.

func (*HostProjectRegistration) GetCreateTime

func (x *HostProjectRegistration) GetCreateTime() *timestamppb.Timestamp

func (*HostProjectRegistration) GetGcpProject

func (x *HostProjectRegistration) GetGcpProject() string

func (*HostProjectRegistration) GetName

func (x *HostProjectRegistration) GetName() string

func (*HostProjectRegistration) ProtoMessage

func (*HostProjectRegistration) ProtoMessage()

func (*HostProjectRegistration) ProtoReflect

func (x *HostProjectRegistration) ProtoReflect() protoreflect.Message

func (*HostProjectRegistration) Reset

func (x *HostProjectRegistration) Reset()

func (*HostProjectRegistration) String

func (x *HostProjectRegistration) String() string

type HostProjectRegistrationServiceClient

type HostProjectRegistrationServiceClient interface {
	// Create a host project registration.
	// A Google cloud project can be registered as a host project if it is not
	// attached as a runtime project to another host project.
	// A project can be registered as a host project only once. Subsequent
	// register calls for the same project will fail.
	CreateHostProjectRegistration(ctx context.Context, in *CreateHostProjectRegistrationRequest, opts ...grpc.CallOption) (*HostProjectRegistration, error)
	// Get a host project registration.
	GetHostProjectRegistration(ctx context.Context, in *GetHostProjectRegistrationRequest, opts ...grpc.CallOption) (*HostProjectRegistration, error)
	// Lists host project registrations.
	ListHostProjectRegistrations(ctx context.Context, in *ListHostProjectRegistrationsRequest, opts ...grpc.CallOption) (*ListHostProjectRegistrationsResponse, error)
}

HostProjectRegistrationServiceClient is the client API for HostProjectRegistrationService 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.

type HostProjectRegistrationServiceServer

type HostProjectRegistrationServiceServer interface {
	// Create a host project registration.
	// A Google cloud project can be registered as a host project if it is not
	// attached as a runtime project to another host project.
	// A project can be registered as a host project only once. Subsequent
	// register calls for the same project will fail.
	CreateHostProjectRegistration(context.Context, *CreateHostProjectRegistrationRequest) (*HostProjectRegistration, error)
	// Get a host project registration.
	GetHostProjectRegistration(context.Context, *GetHostProjectRegistrationRequest) (*HostProjectRegistration, error)
	// Lists host project registrations.
	ListHostProjectRegistrations(context.Context, *ListHostProjectRegistrationsRequest) (*ListHostProjectRegistrationsResponse, error)
}

HostProjectRegistrationServiceServer is the server API for HostProjectRegistrationService service. All implementations should embed UnimplementedHostProjectRegistrationServiceServer for forward compatibility

type HttpOperation

type HttpOperation struct {

	// Optional. The path details for the Operation.
	// Note: Even though this field is optional, it is required for
	// [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
	// API and we will fail the request if not provided.
	Path *Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Optional. Operation method
	// Note: Even though this field is optional, it is required for
	// [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
	// API and we will fail the request if not provided.
	Method HttpOperation_Method `protobuf:"varint,2,opt,name=method,proto3,enum=google.cloud.apihub.v1.HttpOperation_Method" json:"method,omitempty"`
	// contains filtered or unexported fields
}

The HTTP Operation.

func (*HttpOperation) Descriptor deprecated

func (*HttpOperation) Descriptor() ([]byte, []int)

Deprecated: Use HttpOperation.ProtoReflect.Descriptor instead.

func (*HttpOperation) GetMethod

func (x *HttpOperation) GetMethod() HttpOperation_Method

func (*HttpOperation) GetPath

func (x *HttpOperation) GetPath() *Path

func (*HttpOperation) ProtoMessage

func (*HttpOperation) ProtoMessage()

func (*HttpOperation) ProtoReflect

func (x *HttpOperation) ProtoReflect() protoreflect.Message

func (*HttpOperation) Reset

func (x *HttpOperation) Reset()

func (*HttpOperation) String

func (x *HttpOperation) String() string

type HttpOperationDetails added in v0.2.0

type HttpOperationDetails struct {

	// Required. An HTTP Operation.
	HttpOperation *HttpOperation `protobuf:"bytes,1,opt,name=http_operation,json=httpOperation,proto3" json:"http_operation,omitempty"`
	// Optional. Path params of HttpOperation
	PathParams []*HttpOperationDetails_PathParam `protobuf:"bytes,2,rep,name=path_params,json=pathParams,proto3" json:"path_params,omitempty"`
	// Optional. Query params of HttpOperation
	QueryParams map[string]*HttpOperationDetails_QueryParam `` /* 182-byte string literal not displayed */
	// Optional. Request metadata.
	Request *HttpOperationDetails_HttpRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
	// Optional. Response metadata.
	Response *HttpOperationDetails_HttpResponse `protobuf:"bytes,5,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

An HTTP-based API Operation, sometimes called a "REST" Operation.

func (*HttpOperationDetails) Descriptor deprecated added in v0.2.0

func (*HttpOperationDetails) Descriptor() ([]byte, []int)

Deprecated: Use HttpOperationDetails.ProtoReflect.Descriptor instead.

func (*HttpOperationDetails) GetHttpOperation added in v0.2.0

func (x *HttpOperationDetails) GetHttpOperation() *HttpOperation

func (*HttpOperationDetails) GetPathParams added in v0.2.0

func (*HttpOperationDetails) GetQueryParams added in v0.2.0

func (*HttpOperationDetails) GetRequest added in v0.2.0

func (*HttpOperationDetails) GetResponse added in v0.2.0

func (*HttpOperationDetails) ProtoMessage added in v0.2.0

func (*HttpOperationDetails) ProtoMessage()

func (*HttpOperationDetails) ProtoReflect added in v0.2.0

func (x *HttpOperationDetails) ProtoReflect() protoreflect.Message

func (*HttpOperationDetails) Reset added in v0.2.0

func (x *HttpOperationDetails) Reset()

func (*HttpOperationDetails) String added in v0.2.0

func (x *HttpOperationDetails) String() string

type HttpOperationDetails_DataType added in v0.2.0

type HttpOperationDetails_DataType int32

Type of data

const (
	// Unspecified data type
	HttpOperationDetails_DATA_TYPE_UNSPECIFIED HttpOperationDetails_DataType = 0
	// Boolean data type
	HttpOperationDetails_BOOL HttpOperationDetails_DataType = 1
	// Integer data type
	HttpOperationDetails_INTEGER HttpOperationDetails_DataType = 2
	// Float data type
	HttpOperationDetails_FLOAT HttpOperationDetails_DataType = 3
	// String data type
	HttpOperationDetails_STRING HttpOperationDetails_DataType = 4
	// UUID data type
	HttpOperationDetails_UUID HttpOperationDetails_DataType = 5
)

func (HttpOperationDetails_DataType) Descriptor added in v0.2.0

func (HttpOperationDetails_DataType) Enum added in v0.2.0

func (HttpOperationDetails_DataType) EnumDescriptor deprecated added in v0.2.0

func (HttpOperationDetails_DataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HttpOperationDetails_DataType.Descriptor instead.

func (HttpOperationDetails_DataType) Number added in v0.2.0

func (HttpOperationDetails_DataType) String added in v0.2.0

func (HttpOperationDetails_DataType) Type added in v0.2.0

type HttpOperationDetails_Header added in v0.2.0

type HttpOperationDetails_Header struct {

	// Header name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The number of occurrences of this Header across transactions.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// Data type of header
	DataType HttpOperationDetails_DataType `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

An aggregation of HTTP header occurrences.

func (*HttpOperationDetails_Header) Descriptor deprecated added in v0.2.0

func (*HttpOperationDetails_Header) Descriptor() ([]byte, []int)

Deprecated: Use HttpOperationDetails_Header.ProtoReflect.Descriptor instead.

func (*HttpOperationDetails_Header) GetCount added in v0.2.0

func (x *HttpOperationDetails_Header) GetCount() int64

func (*HttpOperationDetails_Header) GetDataType added in v0.2.0

func (*HttpOperationDetails_Header) GetName added in v0.2.0

func (x *HttpOperationDetails_Header) GetName() string

func (*HttpOperationDetails_Header) ProtoMessage added in v0.2.0

func (*HttpOperationDetails_Header) ProtoMessage()

func (*HttpOperationDetails_Header) ProtoReflect added in v0.2.0

func (*HttpOperationDetails_Header) Reset added in v0.2.0

func (x *HttpOperationDetails_Header) Reset()

func (*HttpOperationDetails_Header) String added in v0.2.0

func (x *HttpOperationDetails_Header) String() string

type HttpOperationDetails_HttpRequest added in v0.2.0

type HttpOperationDetails_HttpRequest struct {

	// Optional. Unordered map from header name to header metadata
	Headers map[string]*HttpOperationDetails_Header `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

An aggregation of HTTP requests.

func (*HttpOperationDetails_HttpRequest) Descriptor deprecated added in v0.2.0

func (*HttpOperationDetails_HttpRequest) Descriptor() ([]byte, []int)

Deprecated: Use HttpOperationDetails_HttpRequest.ProtoReflect.Descriptor instead.

func (*HttpOperationDetails_HttpRequest) GetHeaders added in v0.2.0

func (*HttpOperationDetails_HttpRequest) ProtoMessage added in v0.2.0

func (*HttpOperationDetails_HttpRequest) ProtoMessage()

func (*HttpOperationDetails_HttpRequest) ProtoReflect added in v0.2.0

func (*HttpOperationDetails_HttpRequest) Reset added in v0.2.0

func (*HttpOperationDetails_HttpRequest) String added in v0.2.0

type HttpOperationDetails_HttpResponse added in v0.2.0

type HttpOperationDetails_HttpResponse struct {

	// Optional. Unordered map from header name to header metadata
	Headers map[string]*HttpOperationDetails_Header `` /* 155-byte string literal not displayed */
	// Optional. Map of status code to observed count
	ResponseCodes map[int32]int64 `` /* 190-byte string literal not displayed */
	// contains filtered or unexported fields
}

An aggregation of HTTP responses.

func (*HttpOperationDetails_HttpResponse) Descriptor deprecated added in v0.2.0

func (*HttpOperationDetails_HttpResponse) Descriptor() ([]byte, []int)

Deprecated: Use HttpOperationDetails_HttpResponse.ProtoReflect.Descriptor instead.

func (*HttpOperationDetails_HttpResponse) GetHeaders added in v0.2.0

func (*HttpOperationDetails_HttpResponse) GetResponseCodes added in v0.2.0

func (x *HttpOperationDetails_HttpResponse) GetResponseCodes() map[int32]int64

func (*HttpOperationDetails_HttpResponse) ProtoMessage added in v0.2.0

func (*HttpOperationDetails_HttpResponse) ProtoMessage()

func (*HttpOperationDetails_HttpResponse) ProtoReflect added in v0.2.0

func (*HttpOperationDetails_HttpResponse) Reset added in v0.2.0

func (*HttpOperationDetails_HttpResponse) String added in v0.2.0

type HttpOperationDetails_PathParam added in v0.2.0

type HttpOperationDetails_PathParam struct {

	// Optional. Segment location in the path, 1-indexed
	Position int32 `protobuf:"varint,1,opt,name=position,proto3" json:"position,omitempty"`
	// Optional. Data type of path param
	DataType HttpOperationDetails_DataType `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTP Path parameter.

func (*HttpOperationDetails_PathParam) Descriptor deprecated added in v0.2.0

func (*HttpOperationDetails_PathParam) Descriptor() ([]byte, []int)

Deprecated: Use HttpOperationDetails_PathParam.ProtoReflect.Descriptor instead.

func (*HttpOperationDetails_PathParam) GetDataType added in v0.2.0

func (*HttpOperationDetails_PathParam) GetPosition added in v0.2.0

func (x *HttpOperationDetails_PathParam) GetPosition() int32

func (*HttpOperationDetails_PathParam) ProtoMessage added in v0.2.0

func (*HttpOperationDetails_PathParam) ProtoMessage()

func (*HttpOperationDetails_PathParam) ProtoReflect added in v0.2.0

func (*HttpOperationDetails_PathParam) Reset added in v0.2.0

func (x *HttpOperationDetails_PathParam) Reset()

func (*HttpOperationDetails_PathParam) String added in v0.2.0

type HttpOperationDetails_QueryParam added in v0.2.0

type HttpOperationDetails_QueryParam struct {

	// Required. Name of query param
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The number of occurrences of this query parameter across
	// transactions.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// Optional. Data type of path param
	DataType HttpOperationDetails_DataType `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

An aggregation of HTTP query parameter occurrences.

func (*HttpOperationDetails_QueryParam) Descriptor deprecated added in v0.2.0

func (*HttpOperationDetails_QueryParam) Descriptor() ([]byte, []int)

Deprecated: Use HttpOperationDetails_QueryParam.ProtoReflect.Descriptor instead.

func (*HttpOperationDetails_QueryParam) GetCount added in v0.2.0

func (x *HttpOperationDetails_QueryParam) GetCount() int64

func (*HttpOperationDetails_QueryParam) GetDataType added in v0.2.0

func (*HttpOperationDetails_QueryParam) GetName added in v0.2.0

func (*HttpOperationDetails_QueryParam) ProtoMessage added in v0.2.0

func (*HttpOperationDetails_QueryParam) ProtoMessage()

func (*HttpOperationDetails_QueryParam) ProtoReflect added in v0.2.0

func (*HttpOperationDetails_QueryParam) Reset added in v0.2.0

func (*HttpOperationDetails_QueryParam) String added in v0.2.0

type HttpOperation_Method

type HttpOperation_Method int32

Enumeration of Method types.

const (
	// Method unspecified.
	HttpOperation_METHOD_UNSPECIFIED HttpOperation_Method = 0
	// Get Operation type.
	HttpOperation_GET HttpOperation_Method = 1
	// Put Operation type.
	HttpOperation_PUT HttpOperation_Method = 2
	// Post Operation type.
	HttpOperation_POST HttpOperation_Method = 3
	// Delete Operation type.
	HttpOperation_DELETE HttpOperation_Method = 4
	// Options Operation type.
	HttpOperation_OPTIONS HttpOperation_Method = 5
	// Head Operation type.
	HttpOperation_HEAD HttpOperation_Method = 6
	// Patch Operation type.
	HttpOperation_PATCH HttpOperation_Method = 7
	// Trace Operation type.
	HttpOperation_TRACE HttpOperation_Method = 8
)

func (HttpOperation_Method) Descriptor

func (HttpOperation_Method) Enum

func (HttpOperation_Method) EnumDescriptor deprecated

func (HttpOperation_Method) EnumDescriptor() ([]byte, []int)

Deprecated: Use HttpOperation_Method.Descriptor instead.

func (HttpOperation_Method) Number

func (HttpOperation_Method) String

func (x HttpOperation_Method) String() string

func (HttpOperation_Method) Type

type Issue

type Issue struct {

	// Required. Rule code unique to each rule defined in linter.
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// Required. An array of strings indicating the location in the analyzed
	// document where the rule was triggered.
	Path []string `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	// Required. Human-readable message describing the issue found by the linter.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// Required. Severity level of the rule violation.
	Severity Severity `protobuf:"varint,4,opt,name=severity,proto3,enum=google.cloud.apihub.v1.Severity" json:"severity,omitempty"`
	// Required. Object describing where in the file the issue was found.
	Range *Range `protobuf:"bytes,5,opt,name=range,proto3" json:"range,omitempty"`
	// contains filtered or unexported fields
}

Issue contains the details of a single issue found by the linter.

func (*Issue) Descriptor deprecated

func (*Issue) Descriptor() ([]byte, []int)

Deprecated: Use Issue.ProtoReflect.Descriptor instead.

func (*Issue) GetCode

func (x *Issue) GetCode() string

func (*Issue) GetMessage

func (x *Issue) GetMessage() string

func (*Issue) GetPath

func (x *Issue) GetPath() []string

func (*Issue) GetRange

func (x *Issue) GetRange() *Range

func (*Issue) GetSeverity

func (x *Issue) GetSeverity() Severity

func (*Issue) ProtoMessage

func (*Issue) ProtoMessage()

func (*Issue) ProtoReflect

func (x *Issue) ProtoReflect() protoreflect.Message

func (*Issue) Reset

func (x *Issue) Reset()

func (*Issue) String

func (x *Issue) String() string

type LintResponse

type LintResponse struct {

	// Optional. Array of issues found in the analyzed document.
	Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
	// Optional. Summary of all issue types and counts for each severity level.
	Summary []*LintResponse_SummaryEntry `protobuf:"bytes,2,rep,name=summary,proto3" json:"summary,omitempty"`
	// Required. Lint state represents success or failure for linting.
	State LintState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.apihub.v1.LintState" json:"state,omitempty"`
	// Required. Name of the linting application.
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// Required. Name of the linter used.
	Linter Linter `protobuf:"varint,5,opt,name=linter,proto3,enum=google.cloud.apihub.v1.Linter" json:"linter,omitempty"`
	// Required. Timestamp when the linting response was generated.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

LintResponse contains the response from the linter.

func (*LintResponse) Descriptor deprecated

func (*LintResponse) Descriptor() ([]byte, []int)

Deprecated: Use LintResponse.ProtoReflect.Descriptor instead.

func (*LintResponse) GetCreateTime

func (x *LintResponse) GetCreateTime() *timestamppb.Timestamp

func (*LintResponse) GetIssues

func (x *LintResponse) GetIssues() []*Issue

func (*LintResponse) GetLinter

func (x *LintResponse) GetLinter() Linter

func (*LintResponse) GetSource

func (x *LintResponse) GetSource() string

func (*LintResponse) GetState

func (x *LintResponse) GetState() LintState

func (*LintResponse) GetSummary

func (x *LintResponse) GetSummary() []*LintResponse_SummaryEntry

func (*LintResponse) ProtoMessage

func (*LintResponse) ProtoMessage()

func (*LintResponse) ProtoReflect

func (x *LintResponse) ProtoReflect() protoreflect.Message

func (*LintResponse) Reset

func (x *LintResponse) Reset()

func (*LintResponse) String

func (x *LintResponse) String() string

type LintResponse_SummaryEntry

type LintResponse_SummaryEntry struct {

	// Required. Severity of the issue.
	Severity Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.cloud.apihub.v1.Severity" json:"severity,omitempty"`
	// Required. Count of issues with the given severity.
	Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

Count of issues with a given severity.

func (*LintResponse_SummaryEntry) Descriptor deprecated

func (*LintResponse_SummaryEntry) Descriptor() ([]byte, []int)

Deprecated: Use LintResponse_SummaryEntry.ProtoReflect.Descriptor instead.

func (*LintResponse_SummaryEntry) GetCount

func (x *LintResponse_SummaryEntry) GetCount() int32

func (*LintResponse_SummaryEntry) GetSeverity

func (x *LintResponse_SummaryEntry) GetSeverity() Severity

func (*LintResponse_SummaryEntry) ProtoMessage

func (*LintResponse_SummaryEntry) ProtoMessage()

func (*LintResponse_SummaryEntry) ProtoReflect

func (*LintResponse_SummaryEntry) Reset

func (x *LintResponse_SummaryEntry) Reset()

func (*LintResponse_SummaryEntry) String

func (x *LintResponse_SummaryEntry) String() string

type LintSpecRequest

type LintSpecRequest struct {

	// Required. The name of the spec to be linted.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [LintSpec][google.cloud.apihub.v1.LintingService.LintSpec] method's request.

func (*LintSpecRequest) Descriptor deprecated

func (*LintSpecRequest) Descriptor() ([]byte, []int)

Deprecated: Use LintSpecRequest.ProtoReflect.Descriptor instead.

func (*LintSpecRequest) GetName

func (x *LintSpecRequest) GetName() string

func (*LintSpecRequest) ProtoMessage

func (*LintSpecRequest) ProtoMessage()

func (*LintSpecRequest) ProtoReflect

func (x *LintSpecRequest) ProtoReflect() protoreflect.Message

func (*LintSpecRequest) Reset

func (x *LintSpecRequest) Reset()

func (*LintSpecRequest) String

func (x *LintSpecRequest) String() string

type LintState

type LintState int32

Lint state represents success or failure for linting.

const (
	// Lint state unspecified.
	LintState_LINT_STATE_UNSPECIFIED LintState = 0
	// Linting was completed successfully.
	LintState_LINT_STATE_SUCCESS LintState = 1
	// Linting encountered errors.
	LintState_LINT_STATE_ERROR LintState = 2
)

func (LintState) Descriptor

func (LintState) Descriptor() protoreflect.EnumDescriptor

func (LintState) Enum

func (x LintState) Enum() *LintState

func (LintState) EnumDescriptor deprecated

func (LintState) EnumDescriptor() ([]byte, []int)

Deprecated: Use LintState.Descriptor instead.

func (LintState) Number

func (x LintState) Number() protoreflect.EnumNumber

func (LintState) String

func (x LintState) String() string

func (LintState) Type

type Linter

type Linter int32

Enumeration of linter types.

const (
	// Linter type unspecified.
	Linter_LINTER_UNSPECIFIED Linter = 0
	// Linter type spectral.
	Linter_SPECTRAL Linter = 1
	// Linter type other.
	Linter_OTHER Linter = 2
)

func (Linter) Descriptor

func (Linter) Descriptor() protoreflect.EnumDescriptor

func (Linter) Enum

func (x Linter) Enum() *Linter

func (Linter) EnumDescriptor deprecated

func (Linter) EnumDescriptor() ([]byte, []int)

Deprecated: Use Linter.Descriptor instead.

func (Linter) Number

func (x Linter) Number() protoreflect.EnumNumber

func (Linter) String

func (x Linter) String() string

func (Linter) Type

func (Linter) Type() protoreflect.EnumType

type LintingServiceClient

type LintingServiceClient interface {
	// Get the style guide being used for linting.
	GetStyleGuide(ctx context.Context, in *GetStyleGuideRequest, opts ...grpc.CallOption) (*StyleGuide, error)
	// Update the styleGuide to be used for liniting in by API hub.
	UpdateStyleGuide(ctx context.Context, in *UpdateStyleGuideRequest, opts ...grpc.CallOption) (*StyleGuide, error)
	// Get the contents of the style guide.
	GetStyleGuideContents(ctx context.Context, in *GetStyleGuideContentsRequest, opts ...grpc.CallOption) (*StyleGuideContents, error)
	// Lints the requested spec and updates the corresponding API Spec with the
	// lint response. This lint response will be available in all subsequent
	// Get and List Spec calls to Core service.
	LintSpec(ctx context.Context, in *LintSpecRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

LintingServiceClient is the client API for LintingService 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.

type LintingServiceServer

type LintingServiceServer interface {
	// Get the style guide being used for linting.
	GetStyleGuide(context.Context, *GetStyleGuideRequest) (*StyleGuide, error)
	// Update the styleGuide to be used for liniting in by API hub.
	UpdateStyleGuide(context.Context, *UpdateStyleGuideRequest) (*StyleGuide, error)
	// Get the contents of the style guide.
	GetStyleGuideContents(context.Context, *GetStyleGuideContentsRequest) (*StyleGuideContents, error)
	// Lints the requested spec and updates the corresponding API Spec with the
	// lint response. This lint response will be available in all subsequent
	// Get and List Spec calls to Core service.
	LintSpec(context.Context, *LintSpecRequest) (*emptypb.Empty, error)
}

LintingServiceServer is the server API for LintingService service. All implementations should embed UnimplementedLintingServiceServer for forward compatibility

type ListApiOperationsRequest

type ListApiOperationsRequest struct {

	// Required. The parent which owns this collection of operations i.e., the API
	// version. Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of ApiOperations.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string or a
	// boolean. The comparison operator must be one of: `<`, `>` or
	// `=`. Filters are not case sensitive.
	//
	// The following fields in the `ApiOperation` are eligible for filtering:
	//   - `name` - The ApiOperation resource name. Allowed comparison
	//     operators:
	//     `=`.
	//   - `details.http_operation.path.path` - The http operation's complete path
	//     relative to server endpoint. Allowed comparison operators: `=`.
	//   - `details.http_operation.method` - The http operation method type.
	//     Allowed comparison operators: `=`.
	//   - `details.deprecated` - Indicates if the ApiOperation is deprecated.
	//     Allowed values are True / False indicating the deprycation status of the
	//     ApiOperation. Allowed comparison operators: `=`.
	//   - `create_time` - The time at which the ApiOperation was created. The
	//     value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339]
	//     format. Allowed comparison operators: `>` and `<`.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.id` - The
	//     allowed value id of the user defined enum attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-id is a placeholder that can be replaced with
	//     any user defined enum attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.display_name`
	//   - The allowed value display name of the user defined enum attribute
	//     associated with the Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-display-name is a placeholder that can be
	//     replaced with any user defined enum attribute enum name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.string_values.values` - The
	//     allowed value of the user defined string attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-string is a placeholder that can be replaced with
	//     any user defined string attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.json_values.values` - The
	//     allowed value of the user defined JSON attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-json is a placeholder that can be replaced with
	//     any user defined JSON attribute name.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are supported. At most
	// three filter fields are allowed in the filter string and if provided
	// more than that then `INVALID_ARGUMENT` error is returned by the API.
	//
	// Here are a few examples:
	//
	//   - `details.deprecated = True` -  The ApiOperation is deprecated.
	//   - `details.http_operation.method = GET AND create_time <
	//     \"2021-08-15T14:50:00Z\" AND create_time > \"2021-08-10T12:00:00Z\"` -
	//     The method of the http operation of the ApiOperation is _GET_ and the
	//     spec was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10
	//     12:00:00 UTC_.
	//   - `details.http_operation.method = GET OR details.http_operation.method =
	//     POST`. - The http operation of the method of ApiOperation is _GET_ or
	//     _POST_.
	//   - `details.deprecated = True AND
	//     attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values:
	//     test`  - The filter string specifies that the ApiOperation is deprecated
	//     and the value of the user defined attribute of type string is _test_.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of operations to return. The service may
	// return fewer than this value. If unspecified, at most 50 operations will be
	// returned. The maximum value is 1000; values above 1000 will be coerced to
	// 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListApiOperations` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListApiOperations` must match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListApiOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations] method's request.

func (*ListApiOperationsRequest) Descriptor deprecated

func (*ListApiOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListApiOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListApiOperationsRequest) GetFilter

func (x *ListApiOperationsRequest) GetFilter() string

func (*ListApiOperationsRequest) GetPageSize

func (x *ListApiOperationsRequest) GetPageSize() int32

func (*ListApiOperationsRequest) GetPageToken

func (x *ListApiOperationsRequest) GetPageToken() string

func (*ListApiOperationsRequest) GetParent

func (x *ListApiOperationsRequest) GetParent() string

func (*ListApiOperationsRequest) ProtoMessage

func (*ListApiOperationsRequest) ProtoMessage()

func (*ListApiOperationsRequest) ProtoReflect

func (x *ListApiOperationsRequest) ProtoReflect() protoreflect.Message

func (*ListApiOperationsRequest) Reset

func (x *ListApiOperationsRequest) Reset()

func (*ListApiOperationsRequest) String

func (x *ListApiOperationsRequest) String() string

type ListApiOperationsResponse

type ListApiOperationsResponse struct {

	// The operations corresponding to an API version.
	ApiOperations []*ApiOperation `protobuf:"bytes,1,rep,name=api_operations,json=apiOperations,proto3" json:"api_operations,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListApiOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations] method's response.

func (*ListApiOperationsResponse) Descriptor deprecated

func (*ListApiOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListApiOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListApiOperationsResponse) GetApiOperations

func (x *ListApiOperationsResponse) GetApiOperations() []*ApiOperation

func (*ListApiOperationsResponse) GetNextPageToken

func (x *ListApiOperationsResponse) GetNextPageToken() string

func (*ListApiOperationsResponse) ProtoMessage

func (*ListApiOperationsResponse) ProtoMessage()

func (*ListApiOperationsResponse) ProtoReflect

func (*ListApiOperationsResponse) Reset

func (x *ListApiOperationsResponse) Reset()

func (*ListApiOperationsResponse) String

func (x *ListApiOperationsResponse) String() string

type ListApisRequest

type ListApisRequest struct {

	// Required. The parent, which owns this collection of API resources.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of ApiResources.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string. The
	// comparison operator must be one of: `<`, `>`, `:` or `=`. Filters are not
	// case sensitive.
	//
	// The following fields in the `ApiResource` are eligible for filtering:
	//
	//   - `owner.email` - The email of the team which owns the ApiResource.
	//     Allowed comparison operators: `=`.
	//   - `create_time` - The time at which the ApiResource was created. The
	//     value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339]
	//     format. Allowed comparison operators: `>` and `<`.
	//   - `display_name` - The display name of the ApiResource. Allowed
	//     comparison operators: `=`.
	//   - `target_user.enum_values.values.id` - The allowed value id of the
	//     target users attribute associated with the ApiResource. Allowed
	//     comparison operator is `:`.
	//   - `target_user.enum_values.values.display_name` - The allowed value
	//     display name of the target users attribute associated with the
	//     ApiResource. Allowed comparison operator is `:`.
	//   - `team.enum_values.values.id` - The allowed value id of the team
	//     attribute associated with the ApiResource. Allowed comparison operator is
	//     `:`.
	//   - `team.enum_values.values.display_name` - The allowed value display name
	//     of the team attribute associated with the ApiResource. Allowed comparison
	//     operator is `:`.
	//   - `business_unit.enum_values.values.id` - The allowed value id of the
	//     business unit attribute associated with the ApiResource. Allowed
	//     comparison operator is `:`.
	//   - `business_unit.enum_values.values.display_name` - The allowed value
	//     display name of the business unit attribute associated with the
	//     ApiResource. Allowed comparison operator is `:`.
	//   - `maturity_level.enum_values.values.id` - The allowed value id of the
	//     maturity level attribute associated with the ApiResource. Allowed
	//     comparison operator is `:`.
	//   - `maturity_level.enum_values.values.display_name` - The allowed value
	//     display name of the maturity level attribute associated with the
	//     ApiResource. Allowed comparison operator is `:`.
	//   - `api_style.enum_values.values.id` - The allowed value id of the
	//     api style attribute associated with the ApiResource. Allowed
	//     comparison operator is `:`.
	//   - `api_style.enum_values.values.display_name` - The allowed value display
	//     name of the api style attribute associated with the ApiResource. Allowed
	//     comparison operator is `:`.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.id` - The
	//     allowed value id of the user defined enum attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-id is a placeholder that can be replaced with
	//     any user defined enum attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.display_name`
	//   - The allowed value display name of the user defined enum attribute
	//     associated with the Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-display-name is a placeholder that can be
	//     replaced with any user defined enum attribute enum name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.string_values.values` - The
	//     allowed value of the user defined string attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-string is a placeholder that can be replaced with
	//     any user defined string attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.json_values.values` - The
	//     allowed value of the user defined JSON attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-json is a placeholder that can be replaced with
	//     any user defined JSON attribute name.
	//
	// A filter function is also supported in the filter string. The filter
	// function is `id(name)`. The `id(name)` function returns the id of the
	// resource name. For example, `id(name) = \"api-1\"` is equivalent to
	// `name = \"projects/test-project-id/locations/test-location-id/apis/api-1\"`
	// provided the parent is
	// `projects/test-project-id/locations/test-location-id`.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are supported. At most
	// three filter fields are allowed in the filter string and if provided
	// more than that then `INVALID_ARGUMENT` error is returned by the API.
	//
	// Here are a few examples:
	//
	//   - `owner.email = \"[email protected]\"` -  - The owner team email is
	//     [email protected]_.
	//   - `owner.email = \"[email protected]\" AND create_time <
	//     \"2021-08-15T14:50:00Z\" AND create_time > \"2021-08-10T12:00:00Z\"` -
	//     The owner team email is [email protected]_ and the api was created
	//     before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_.
	//   - `owner.email = \"[email protected]\" OR team.enum_values.values.id:
	//     apihub-team-id` - The filter string specifies the APIs where the owner
	//     team email is [email protected]_ or the id of the allowed value
	//     associated with the team attribute is _apihub-team-id_.
	//   - `owner.email = \"[email protected]\" OR
	//     team.enum_values.values.display_name: ApiHub Team` - The filter string
	//     specifies the APIs where the owner team email is [email protected]_ or
	//     the display name of the allowed value associated with the team attribute
	//     is `ApiHub Team`.
	//   - `owner.email = \"[email protected]\" AND
	//     attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/17650f90-4a29-4971-b3c0-d5532da3764b.enum_values.values.id:
	//     test_enum_id AND
	//     attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/1765\0f90-4a29-5431-b3d0-d5532da3764c.string_values.values:
	//     test_string_value`  - The filter string specifies the APIs where the
	//     owner team email is [email protected]_ and the id of the allowed value
	//     associated with the user defined attribute of type enum is _test_enum_id_
	//     and the value of the user defined attribute of type string is _test_..
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of API resources to return. The service may
	// return fewer than this value. If unspecified, at most 50 Apis will be
	// returned. The maximum value is 1000; values above 1000 will be coerced to
	// 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListApis` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListApis` must match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListApis][google.cloud.apihub.v1.ApiHub.ListApis] method's request.

func (*ListApisRequest) Descriptor deprecated

func (*ListApisRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListApisRequest.ProtoReflect.Descriptor instead.

func (*ListApisRequest) GetFilter

func (x *ListApisRequest) GetFilter() string

func (*ListApisRequest) GetPageSize

func (x *ListApisRequest) GetPageSize() int32

func (*ListApisRequest) GetPageToken

func (x *ListApisRequest) GetPageToken() string

func (*ListApisRequest) GetParent

func (x *ListApisRequest) GetParent() string

func (*ListApisRequest) ProtoMessage

func (*ListApisRequest) ProtoMessage()

func (*ListApisRequest) ProtoReflect

func (x *ListApisRequest) ProtoReflect() protoreflect.Message

func (*ListApisRequest) Reset

func (x *ListApisRequest) Reset()

func (*ListApisRequest) String

func (x *ListApisRequest) String() string

type ListApisResponse

type ListApisResponse struct {

	// The API resources present in the API hub.
	Apis []*Api `protobuf:"bytes,1,rep,name=apis,proto3" json:"apis,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListApis][google.cloud.apihub.v1.ApiHub.ListApis] method's response.

func (*ListApisResponse) Descriptor deprecated

func (*ListApisResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListApisResponse.ProtoReflect.Descriptor instead.

func (*ListApisResponse) GetApis

func (x *ListApisResponse) GetApis() []*Api

func (*ListApisResponse) GetNextPageToken

func (x *ListApisResponse) GetNextPageToken() string

func (*ListApisResponse) ProtoMessage

func (*ListApisResponse) ProtoMessage()

func (*ListApisResponse) ProtoReflect

func (x *ListApisResponse) ProtoReflect() protoreflect.Message

func (*ListApisResponse) Reset

func (x *ListApisResponse) Reset()

func (*ListApisResponse) String

func (x *ListApisResponse) String() string

type ListAttributesRequest

type ListAttributesRequest struct {

	// Required. The parent resource for Attribute.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of Attributes.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string or a
	// boolean. The comparison operator must be one of: `<`, `>` or
	// `=`. Filters are not case sensitive.
	//
	// The following fields in the `Attribute` are eligible for filtering:
	//
	//   - `display_name` - The display name of the Attribute. Allowed
	//     comparison operators: `=`.
	//   - `definition_type` - The definition type of the attribute. Allowed
	//     comparison operators: `=`.
	//   - `scope` - The scope of the attribute. Allowed comparison operators:
	//     `=`.
	//   - `data_type` - The type of the data of the attribute. Allowed
	//     comparison operators: `=`.
	//   - `mandatory` - Denotes whether the attribute is mandatory or not.
	//     Allowed comparison operators: `=`.
	//   - `create_time` - The time at which the Attribute was created. The
	//     value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339]
	//     format. Allowed comparison operators: `>` and `<`.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are
	// supported. At most three filter fields are allowed in the filter
	// string and if provided more than that then `INVALID_ARGUMENT` error is
	// returned by the API.
	//
	// Here are a few examples:
	//
	//   - `display_name = production` -  - The display name of the attribute is
	//     _production_.
	//   - `(display_name = production) AND (create_time <
	//     \"2021-08-15T14:50:00Z\") AND (create_time > \"2021-08-10T12:00:00Z\")` -
	//     The display name of the attribute is _production_ and the attribute was
	//     created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00
	//     UTC_.
	//   - `display_name = production OR scope = api` -
	//     The attribute where the display name is _production_ or the scope is
	//     _api_.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of attribute resources to return. The service
	// may return fewer than this value. If unspecified, at most 50 attributes
	// will be returned. The maximum value is 1000; values above 1000 will be
	// coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListAttributes` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListAttributes` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method's request.

func (*ListAttributesRequest) Descriptor deprecated

func (*ListAttributesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAttributesRequest.ProtoReflect.Descriptor instead.

func (*ListAttributesRequest) GetFilter

func (x *ListAttributesRequest) GetFilter() string

func (*ListAttributesRequest) GetPageSize

func (x *ListAttributesRequest) GetPageSize() int32

func (*ListAttributesRequest) GetPageToken

func (x *ListAttributesRequest) GetPageToken() string

func (*ListAttributesRequest) GetParent

func (x *ListAttributesRequest) GetParent() string

func (*ListAttributesRequest) ProtoMessage

func (*ListAttributesRequest) ProtoMessage()

func (*ListAttributesRequest) ProtoReflect

func (x *ListAttributesRequest) ProtoReflect() protoreflect.Message

func (*ListAttributesRequest) Reset

func (x *ListAttributesRequest) Reset()

func (*ListAttributesRequest) String

func (x *ListAttributesRequest) String() string

type ListAttributesResponse

type ListAttributesResponse struct {

	// The list of all attributes.
	Attributes []*Attribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method's response.

func (*ListAttributesResponse) Descriptor deprecated

func (*ListAttributesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAttributesResponse.ProtoReflect.Descriptor instead.

func (*ListAttributesResponse) GetAttributes

func (x *ListAttributesResponse) GetAttributes() []*Attribute

func (*ListAttributesResponse) GetNextPageToken

func (x *ListAttributesResponse) GetNextPageToken() string

func (*ListAttributesResponse) ProtoMessage

func (*ListAttributesResponse) ProtoMessage()

func (*ListAttributesResponse) ProtoReflect

func (x *ListAttributesResponse) ProtoReflect() protoreflect.Message

func (*ListAttributesResponse) Reset

func (x *ListAttributesResponse) Reset()

func (*ListAttributesResponse) String

func (x *ListAttributesResponse) String() string

type ListCurationsRequest added in v0.2.0

type ListCurationsRequest struct {

	// Required. The parent, which owns this collection of curation resources.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of curation resources.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string. The
	// comparison operator must be one of: `<`, `>`, `:` or `=`. Filters are case
	// insensitive.
	//
	// The following fields in the `curation resource` are eligible for filtering:
	//
	//   - `create_time` - The time at which the curation was created.
	//     The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339]
	//     format. Allowed comparison operators: `>` and `<`.
	//   - `display_name` - The display name of the curation. Allowed
	//     comparison operators: `=`.
	//   - `state` - The state of the curation. Allowed comparison operators: `=`.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are supported. At most
	// three filter fields are allowed in the filter string and if provided
	// more than that then `INVALID_ARGUMENT` error is returned by the API.
	//
	// Here are a few examples:
	//
	//   - `create_time < \"2021-08-15T14:50:00Z\" AND create_time >
	//     \"2021-08-10T12:00:00Z\"` -
	//     The curation resource was created before _2021-08-15 14:50:00 UTC_ and
	//     after _2021-08-10 12:00:00 UTC_.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of curation resources to return. The service
	// may return fewer than this value. If unspecified, at most 50 curations will
	// be returned. The maximum value is 1000; values above 1000 will be coerced
	// to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListCurations` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListCurations` must match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListCurations][ApiHub.ListCurations] method's request.

func (*ListCurationsRequest) Descriptor deprecated added in v0.2.0

func (*ListCurationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCurationsRequest.ProtoReflect.Descriptor instead.

func (*ListCurationsRequest) GetFilter added in v0.2.0

func (x *ListCurationsRequest) GetFilter() string

func (*ListCurationsRequest) GetPageSize added in v0.2.0

func (x *ListCurationsRequest) GetPageSize() int32

func (*ListCurationsRequest) GetPageToken added in v0.2.0

func (x *ListCurationsRequest) GetPageToken() string

func (*ListCurationsRequest) GetParent added in v0.2.0

func (x *ListCurationsRequest) GetParent() string

func (*ListCurationsRequest) ProtoMessage added in v0.2.0

func (*ListCurationsRequest) ProtoMessage()

func (*ListCurationsRequest) ProtoReflect added in v0.2.0

func (x *ListCurationsRequest) ProtoReflect() protoreflect.Message

func (*ListCurationsRequest) Reset added in v0.2.0

func (x *ListCurationsRequest) Reset()

func (*ListCurationsRequest) String added in v0.2.0

func (x *ListCurationsRequest) String() string

type ListCurationsResponse added in v0.2.0

type ListCurationsResponse struct {

	// The curation resources present in the API hub.
	Curations []*Curation `protobuf:"bytes,1,rep,name=curations,proto3" json:"curations,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListCurations][ApiHub.ListCurations] method's response.

func (*ListCurationsResponse) Descriptor deprecated added in v0.2.0

func (*ListCurationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListCurationsResponse.ProtoReflect.Descriptor instead.

func (*ListCurationsResponse) GetCurations added in v0.2.0

func (x *ListCurationsResponse) GetCurations() []*Curation

func (*ListCurationsResponse) GetNextPageToken added in v0.2.0

func (x *ListCurationsResponse) GetNextPageToken() string

func (*ListCurationsResponse) ProtoMessage added in v0.2.0

func (*ListCurationsResponse) ProtoMessage()

func (*ListCurationsResponse) ProtoReflect added in v0.2.0

func (x *ListCurationsResponse) ProtoReflect() protoreflect.Message

func (*ListCurationsResponse) Reset added in v0.2.0

func (x *ListCurationsResponse) Reset()

func (*ListCurationsResponse) String added in v0.2.0

func (x *ListCurationsResponse) String() string

type ListDependenciesRequest

type ListDependenciesRequest struct {

	// Required. The parent which owns this collection of dependency resources.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of Dependencies.
	//
	// A filter expression consists of a field name, a comparison operator, and
	// a value for filtering. The value must be a string. Allowed comparison
	// operator is `=`. Filters are not case sensitive.
	//
	// The following fields in the `Dependency` are eligible for filtering:
	//
	//   - `consumer.operation_resource_name` - The operation resource name for
	//     the consumer entity involved in a dependency. Allowed comparison
	//     operators: `=`.
	//   - `consumer.external_api_resource_name` - The external api resource name
	//     for the consumer entity involved in a dependency. Allowed comparison
	//     operators: `=`.
	//   - `supplier.operation_resource_name` - The operation resource name for
	//     the supplier entity involved in a dependency. Allowed comparison
	//     operators: `=`.
	//   - `supplier.external_api_resource_name` - The external api resource name
	//     for the supplier entity involved in a dependency. Allowed comparison
	//     operators: `=`.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are supported. At most
	// three filter fields are allowed in the filter string and if provided
	// more than that then `INVALID_ARGUMENT` error is returned by the API.
	//
	// For example, `consumer.operation_resource_name =
	// \"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\" OR
	// supplier.operation_resource_name =
	// \"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\"` - The
	// dependencies with either consumer or supplier operation resource name as
	// _projects/p1/locations/global/apis/a1/versions/v1/operations/o1_.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of dependency resources to return. The service
	// may return fewer than this value. If unspecified, at most 50 dependencies
	// will be returned. The maximum value is 1000; values above 1000 will be
	// coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListDependencies` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListDependencies` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListDependencies][google.cloud.apihub.v1.ApiHubDependencies.ListDependencies] method's request.

func (*ListDependenciesRequest) Descriptor deprecated

func (*ListDependenciesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDependenciesRequest.ProtoReflect.Descriptor instead.

func (*ListDependenciesRequest) GetFilter

func (x *ListDependenciesRequest) GetFilter() string

func (*ListDependenciesRequest) GetPageSize

func (x *ListDependenciesRequest) GetPageSize() int32

func (*ListDependenciesRequest) GetPageToken

func (x *ListDependenciesRequest) GetPageToken() string

func (*ListDependenciesRequest) GetParent

func (x *ListDependenciesRequest) GetParent() string

func (*ListDependenciesRequest) ProtoMessage

func (*ListDependenciesRequest) ProtoMessage()

func (*ListDependenciesRequest) ProtoReflect

func (x *ListDependenciesRequest) ProtoReflect() protoreflect.Message

func (*ListDependenciesRequest) Reset

func (x *ListDependenciesRequest) Reset()

func (*ListDependenciesRequest) String

func (x *ListDependenciesRequest) String() string

type ListDependenciesResponse

type ListDependenciesResponse struct {

	// The dependency resources present in the API hub.
	Dependencies []*Dependency `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListDependencies][google.cloud.apihub.v1.ApiHubDependencies.ListDependencies] method's response.

func (*ListDependenciesResponse) Descriptor deprecated

func (*ListDependenciesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDependenciesResponse.ProtoReflect.Descriptor instead.

func (*ListDependenciesResponse) GetDependencies

func (x *ListDependenciesResponse) GetDependencies() []*Dependency

func (*ListDependenciesResponse) GetNextPageToken

func (x *ListDependenciesResponse) GetNextPageToken() string

func (*ListDependenciesResponse) ProtoMessage

func (*ListDependenciesResponse) ProtoMessage()

func (*ListDependenciesResponse) ProtoReflect

func (x *ListDependenciesResponse) ProtoReflect() protoreflect.Message

func (*ListDependenciesResponse) Reset

func (x *ListDependenciesResponse) Reset()

func (*ListDependenciesResponse) String

func (x *ListDependenciesResponse) String() string

type ListDeploymentsRequest

type ListDeploymentsRequest struct {

	// Required. The parent, which owns this collection of deployment resources.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of Deployments.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string. The
	// comparison operator must be one of: `<`, `>` or
	// `=`. Filters are not case sensitive.
	//
	// The following fields in the `Deployments` are eligible for filtering:
	//
	//   - `display_name` - The display name of the Deployment. Allowed
	//     comparison operators: `=`.
	//   - `create_time` - The time at which the Deployment was created. The
	//     value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339]
	//     format. Allowed comparison operators: `>` and `<`.
	//   - `resource_uri` - A URI to the deployment resource. Allowed
	//     comparison operators: `=`.
	//   - `api_versions` - The API versions linked to this deployment. Allowed
	//     comparison operators: `:`.
	//   - `source_project` - The project/organization at source for the
	//     deployment. Allowed comparison operators: `=`.
	//   - `source_environment` - The environment at source for the
	//     deployment. Allowed comparison operators: `=`.
	//   - `deployment_type.enum_values.values.id` - The allowed value id of the
	//     deployment_type attribute associated with the Deployment. Allowed
	//     comparison operators: `:`.
	//   - `deployment_type.enum_values.values.display_name` - The allowed value
	//     display name of the deployment_type attribute associated with the
	//     Deployment. Allowed comparison operators: `:`.
	//   - `slo.string_values.values` -The allowed string value of the slo
	//     attribute associated with the deployment. Allowed comparison
	//     operators: `:`.
	//   - `environment.enum_values.values.id` - The allowed value id of the
	//     environment attribute associated with the deployment. Allowed
	//     comparison operators: `:`.
	//   - `environment.enum_values.values.display_name` - The allowed value
	//     display name of the environment attribute associated with the deployment.
	//     Allowed comparison operators: `:`.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.id` - The
	//     allowed value id of the user defined enum attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-id is a placeholder that can be replaced with
	//     any user defined enum attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.display_name`
	//   - The allowed value display name of the user defined enum attribute
	//     associated with the Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-display-name is a placeholder that can be
	//     replaced with any user defined enum attribute enum name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.string_values.values` - The
	//     allowed value of the user defined string attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-string is a placeholder that can be replaced with
	//     any user defined string attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.json_values.values` - The
	//     allowed value of the user defined JSON attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-json is a placeholder that can be replaced with
	//     any user defined JSON attribute name.
	//
	// A filter function is also supported in the filter string. The filter
	// function is `id(name)`. The `id(name)` function returns the id of the
	// resource name. For example, `id(name) = \"deployment-1\"` is equivalent to
	// `name =
	// \"projects/test-project-id/locations/test-location-id/deployments/deployment-1\"`
	// provided the parent is
	// `projects/test-project-id/locations/test-location-id`.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are supported. At most
	// three filter fields are allowed in the filter string and if provided
	// more than that then `INVALID_ARGUMENT` error is returned by the API.
	//
	// Here are a few examples:
	//
	//   - `environment.enum_values.values.id: staging-id` - The allowed value id
	//     of the environment attribute associated with the Deployment is
	//     _staging-id_.
	//   - `environment.enum_values.values.display_name: \"Staging Deployment\"` -
	//     The allowed value display name of the environment attribute associated
	//     with the Deployment is `Staging Deployment`.
	//   - `environment.enum_values.values.id: production-id AND create_time <
	//     \"2021-08-15T14:50:00Z\" AND create_time > \"2021-08-10T12:00:00Z\"` -
	//     The allowed value id of the environment attribute associated with the
	//     Deployment is _production-id_ and Deployment was created before
	//     _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_.
	//   - `environment.enum_values.values.id: production-id OR
	//     slo.string_values.values: \"99.99%\"`
	//   - The allowed value id of the environment attribute Deployment is
	//     _production-id_ or string value of the slo attribute is _99.99%_.
	//   - `environment.enum_values.values.id: staging-id AND
	//     attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values:
	//     test`  - The filter string specifies that the allowed value id of the
	//     environment attribute associated with the Deployment is _staging-id_ and
	//     the value of the user defined attribute of type string is _test_.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of deployment resources to return. The service
	// may return fewer than this value. If unspecified, at most 50 deployments
	// will be returned. The maximum value is 1000; values above 1000 will be
	// coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListDeployments` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListDeployments` must match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListDeployments][google.cloud.apihub.v1.ApiHub.ListDeployments] method's request.

func (*ListDeploymentsRequest) Descriptor deprecated

func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*ListDeploymentsRequest) GetFilter

func (x *ListDeploymentsRequest) GetFilter() string

func (*ListDeploymentsRequest) GetPageSize

func (x *ListDeploymentsRequest) GetPageSize() int32

func (*ListDeploymentsRequest) GetPageToken

func (x *ListDeploymentsRequest) GetPageToken() string

func (*ListDeploymentsRequest) GetParent

func (x *ListDeploymentsRequest) GetParent() string

func (*ListDeploymentsRequest) ProtoMessage

func (*ListDeploymentsRequest) ProtoMessage()

func (*ListDeploymentsRequest) ProtoReflect

func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message

func (*ListDeploymentsRequest) Reset

func (x *ListDeploymentsRequest) Reset()

func (*ListDeploymentsRequest) String

func (x *ListDeploymentsRequest) String() string

type ListDeploymentsResponse

type ListDeploymentsResponse struct {

	// The deployment resources present in the API hub.
	Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListDeployments][google.cloud.apihub.v1.ApiHub.ListDeployments] method's response.

func (*ListDeploymentsResponse) Descriptor deprecated

func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*ListDeploymentsResponse) GetDeployments

func (x *ListDeploymentsResponse) GetDeployments() []*Deployment

func (*ListDeploymentsResponse) GetNextPageToken

func (x *ListDeploymentsResponse) GetNextPageToken() string

func (*ListDeploymentsResponse) ProtoMessage

func (*ListDeploymentsResponse) ProtoMessage()

func (*ListDeploymentsResponse) ProtoReflect

func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message

func (*ListDeploymentsResponse) Reset

func (x *ListDeploymentsResponse) Reset()

func (*ListDeploymentsResponse) String

func (x *ListDeploymentsResponse) String() string

type ListDiscoveredApiObservationsRequest added in v0.2.0

type ListDiscoveredApiObservationsRequest struct {

	// Required. The parent, which owns this collection of ApiObservations.
	// Format:
	// projects/{project}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of ApiObservations to return. The service may
	// return fewer than this value. If unspecified, at most 10
	// ApiObservations will be returned. The maximum value is 1000; values
	// above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListApiObservations`
	// call. Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to
	// `ListApiObservations` must match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of DiscoveredApiObservations

func (*ListDiscoveredApiObservationsRequest) Descriptor deprecated added in v0.2.0

func (*ListDiscoveredApiObservationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDiscoveredApiObservationsRequest.ProtoReflect.Descriptor instead.

func (*ListDiscoveredApiObservationsRequest) GetPageSize added in v0.2.0

func (*ListDiscoveredApiObservationsRequest) GetPageToken added in v0.2.0

func (x *ListDiscoveredApiObservationsRequest) GetPageToken() string

func (*ListDiscoveredApiObservationsRequest) GetParent added in v0.2.0

func (*ListDiscoveredApiObservationsRequest) ProtoMessage added in v0.2.0

func (*ListDiscoveredApiObservationsRequest) ProtoMessage()

func (*ListDiscoveredApiObservationsRequest) ProtoReflect added in v0.2.0

func (*ListDiscoveredApiObservationsRequest) Reset added in v0.2.0

func (*ListDiscoveredApiObservationsRequest) String added in v0.2.0

type ListDiscoveredApiObservationsResponse added in v0.2.0

type ListDiscoveredApiObservationsResponse struct {

	// The DiscoveredApiObservation from the specified project and location.
	DiscoveredApiObservations []*DiscoveredApiObservation `` /* 138-byte string literal not displayed */
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing DiscoveredApiObservations

func (*ListDiscoveredApiObservationsResponse) Descriptor deprecated added in v0.2.0

func (*ListDiscoveredApiObservationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDiscoveredApiObservationsResponse.ProtoReflect.Descriptor instead.

func (*ListDiscoveredApiObservationsResponse) GetDiscoveredApiObservations added in v0.2.0

func (x *ListDiscoveredApiObservationsResponse) GetDiscoveredApiObservations() []*DiscoveredApiObservation

func (*ListDiscoveredApiObservationsResponse) GetNextPageToken added in v0.2.0

func (x *ListDiscoveredApiObservationsResponse) GetNextPageToken() string

func (*ListDiscoveredApiObservationsResponse) ProtoMessage added in v0.2.0

func (*ListDiscoveredApiObservationsResponse) ProtoMessage()

func (*ListDiscoveredApiObservationsResponse) ProtoReflect added in v0.2.0

func (*ListDiscoveredApiObservationsResponse) Reset added in v0.2.0

func (*ListDiscoveredApiObservationsResponse) String added in v0.2.0

type ListDiscoveredApiOperationsRequest added in v0.2.0

type ListDiscoveredApiOperationsRequest struct {

	// Required. The parent, which owns this collection of
	// DiscoveredApiOperations. Format:
	// projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. DiscoveredApiOperations will be returned. The maximum value is
	// 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// `ListDiscoveredApiApiOperations` call. Provide this to retrieve the
	// subsequent page.
	//
	// When paginating, all other parameters provided to
	// `ListDiscoveredApiApiOperations` must match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of DiscoveredApiOperations

func (*ListDiscoveredApiOperationsRequest) Descriptor deprecated added in v0.2.0

func (*ListDiscoveredApiOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDiscoveredApiOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListDiscoveredApiOperationsRequest) GetPageSize added in v0.2.0

func (x *ListDiscoveredApiOperationsRequest) GetPageSize() int32

func (*ListDiscoveredApiOperationsRequest) GetPageToken added in v0.2.0

func (x *ListDiscoveredApiOperationsRequest) GetPageToken() string

func (*ListDiscoveredApiOperationsRequest) GetParent added in v0.2.0

func (*ListDiscoveredApiOperationsRequest) ProtoMessage added in v0.2.0

func (*ListDiscoveredApiOperationsRequest) ProtoMessage()

func (*ListDiscoveredApiOperationsRequest) ProtoReflect added in v0.2.0

func (*ListDiscoveredApiOperationsRequest) Reset added in v0.2.0

func (*ListDiscoveredApiOperationsRequest) String added in v0.2.0

type ListDiscoveredApiOperationsResponse added in v0.2.0

type ListDiscoveredApiOperationsResponse struct {

	// The DiscoveredApiOperations from the specified project, location
	// and DiscoveredApiObservation.
	DiscoveredApiOperations []*DiscoveredApiOperation `` /* 132-byte string literal not displayed */
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing DiscoveredApiOperations

func (*ListDiscoveredApiOperationsResponse) Descriptor deprecated added in v0.2.0

func (*ListDiscoveredApiOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDiscoveredApiOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListDiscoveredApiOperationsResponse) GetDiscoveredApiOperations added in v0.2.0

func (x *ListDiscoveredApiOperationsResponse) GetDiscoveredApiOperations() []*DiscoveredApiOperation

func (*ListDiscoveredApiOperationsResponse) GetNextPageToken added in v0.2.0

func (x *ListDiscoveredApiOperationsResponse) GetNextPageToken() string

func (*ListDiscoveredApiOperationsResponse) ProtoMessage added in v0.2.0

func (*ListDiscoveredApiOperationsResponse) ProtoMessage()

func (*ListDiscoveredApiOperationsResponse) ProtoReflect added in v0.2.0

func (*ListDiscoveredApiOperationsResponse) Reset added in v0.2.0

func (*ListDiscoveredApiOperationsResponse) String added in v0.2.0

type ListExternalApisRequest

type ListExternalApisRequest struct {

	// Required. The parent, which owns this collection of External API resources.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of External API resources to return. The
	// service may return fewer than this value. If unspecified, at most 50
	// ExternalApis will be returned. The maximum value is 1000; values above 1000
	// will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListExternalApis` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListExternalApis` must match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListExternalApis][google.cloud.apihub.v1.ApiHub.ListExternalApis] method's request.

func (*ListExternalApisRequest) Descriptor deprecated

func (*ListExternalApisRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListExternalApisRequest.ProtoReflect.Descriptor instead.

func (*ListExternalApisRequest) GetPageSize

func (x *ListExternalApisRequest) GetPageSize() int32

func (*ListExternalApisRequest) GetPageToken

func (x *ListExternalApisRequest) GetPageToken() string

func (*ListExternalApisRequest) GetParent

func (x *ListExternalApisRequest) GetParent() string

func (*ListExternalApisRequest) ProtoMessage

func (*ListExternalApisRequest) ProtoMessage()

func (*ListExternalApisRequest) ProtoReflect

func (x *ListExternalApisRequest) ProtoReflect() protoreflect.Message

func (*ListExternalApisRequest) Reset

func (x *ListExternalApisRequest) Reset()

func (*ListExternalApisRequest) String

func (x *ListExternalApisRequest) String() string

type ListExternalApisResponse

type ListExternalApisResponse struct {

	// The External API resources present in the API hub.
	ExternalApis []*ExternalApi `protobuf:"bytes,1,rep,name=external_apis,json=externalApis,proto3" json:"external_apis,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListExternalApis][google.cloud.apihub.v1.ApiHub.ListExternalApis] method's response.

func (*ListExternalApisResponse) Descriptor deprecated

func (*ListExternalApisResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListExternalApisResponse.ProtoReflect.Descriptor instead.

func (*ListExternalApisResponse) GetExternalApis

func (x *ListExternalApisResponse) GetExternalApis() []*ExternalApi

func (*ListExternalApisResponse) GetNextPageToken

func (x *ListExternalApisResponse) GetNextPageToken() string

func (*ListExternalApisResponse) ProtoMessage

func (*ListExternalApisResponse) ProtoMessage()

func (*ListExternalApisResponse) ProtoReflect

func (x *ListExternalApisResponse) ProtoReflect() protoreflect.Message

func (*ListExternalApisResponse) Reset

func (x *ListExternalApisResponse) Reset()

func (*ListExternalApisResponse) String

func (x *ListExternalApisResponse) String() string

type ListHostProjectRegistrationsRequest

type ListHostProjectRegistrationsRequest struct {

	// Required. The parent, which owns this collection of host projects.
	// Format: `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of host project registrations to return. The
	// service may return fewer than this value. If unspecified, at most 50 host
	// project registrations will be returned. The maximum value is 1000; values
	// above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// `ListHostProjectRegistrations` call. Provide this to retrieve the
	// subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListHostProjectRegistrations` must match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. An expression that filters the list of HostProjectRegistrations.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string. All
	// standard operators as documented at https://google.aip.dev/160 are
	// supported.
	//
	// The following fields in the `HostProjectRegistration` are eligible for
	// filtering:
	//
	//   - `name` - The name of the HostProjectRegistration.
	//   - `create_time` - The time at which the HostProjectRegistration was
	//     created. The value should be in the
	//     (RFC3339)[https://tools.ietf.org/html/rfc3339] format.
	//   - `gcp_project` - The Google cloud project associated with the
	//     HostProjectRegistration.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Hint for how to order the results.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

The [ListHostProjectRegistrations][google.cloud.apihub.v1.HostProjectRegistrationService.ListHostProjectRegistrations] method's request.

func (*ListHostProjectRegistrationsRequest) Descriptor deprecated

func (*ListHostProjectRegistrationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHostProjectRegistrationsRequest.ProtoReflect.Descriptor instead.

func (*ListHostProjectRegistrationsRequest) GetFilter

func (*ListHostProjectRegistrationsRequest) GetOrderBy

func (*ListHostProjectRegistrationsRequest) GetPageSize

func (x *ListHostProjectRegistrationsRequest) GetPageSize() int32

func (*ListHostProjectRegistrationsRequest) GetPageToken

func (x *ListHostProjectRegistrationsRequest) GetPageToken() string

func (*ListHostProjectRegistrationsRequest) GetParent

func (*ListHostProjectRegistrationsRequest) ProtoMessage

func (*ListHostProjectRegistrationsRequest) ProtoMessage()

func (*ListHostProjectRegistrationsRequest) ProtoReflect

func (*ListHostProjectRegistrationsRequest) Reset

func (*ListHostProjectRegistrationsRequest) String

type ListHostProjectRegistrationsResponse

type ListHostProjectRegistrationsResponse struct {

	// The list of host project registrations.
	HostProjectRegistrations []*HostProjectRegistration `` /* 135-byte string literal not displayed */
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListHostProjectRegistrations][google.cloud.apihub.v1.HostProjectRegistrationService.ListHostProjectRegistrations] method's response.

func (*ListHostProjectRegistrationsResponse) Descriptor deprecated

func (*ListHostProjectRegistrationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListHostProjectRegistrationsResponse.ProtoReflect.Descriptor instead.

func (*ListHostProjectRegistrationsResponse) GetHostProjectRegistrations

func (x *ListHostProjectRegistrationsResponse) GetHostProjectRegistrations() []*HostProjectRegistration

func (*ListHostProjectRegistrationsResponse) GetNextPageToken

func (x *ListHostProjectRegistrationsResponse) GetNextPageToken() string

func (*ListHostProjectRegistrationsResponse) ProtoMessage

func (*ListHostProjectRegistrationsResponse) ProtoMessage()

func (*ListHostProjectRegistrationsResponse) ProtoReflect

func (*ListHostProjectRegistrationsResponse) Reset

func (*ListHostProjectRegistrationsResponse) String

type ListPluginInstancesRequest added in v0.2.0

type ListPluginInstancesRequest struct {

	// Required. The parent resource where this plugin will be created.
	// Format: `projects/{project}/locations/{location}/plugins/{plugin}`.
	// To list plugin instances for multiple plugins,
	// use the - character instead of the plugin ID.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of plugin instances.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string. The
	// comparison operator must be one of: `<`, `>` or
	// `=`. Filters are not case sensitive.
	//
	// The following fields in the `PluginInstances` are eligible for filtering:
	//
	//   - `state` - The state of the Plugin Instance. Allowed
	//     comparison operators: `=`.
	//
	// A filter function is also supported in the filter string. The filter
	// function is `id(name)`. The `id(name)` function returns the id of the
	// resource name. For example, `id(name) = \"plugin-instance-1\"` is
	// equivalent to `name =
	// \"projects/test-project-id/locations/test-location-id/plugins/plugin-1/instances/plugin-instance-1\"`
	// provided the parent is
	// `projects/test-project-id/locations/test-location-id/plugins/plugin-1`.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are
	// supported. At most three filter fields are allowed in the filter
	// string and if provided more than that then `INVALID_ARGUMENT` error is
	// returned by the API.
	// Here are a few examples:
	//
	//   - `state = ENABLED` - The plugin instance is in enabled state.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of hub plugins to return. The service may
	// return fewer than this value. If unspecified, at most 50 hub plugins will
	// be returned. The maximum value is 1000; values above 1000 will be coerced
	// to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListPluginInstances`
	// call. Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListPluginInstances`
	// must match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListPluginInstances][google.cloud.apihub.v1.ApiHubPlugin.ListPluginInstances] method's request.

func (*ListPluginInstancesRequest) Descriptor deprecated added in v0.2.0

func (*ListPluginInstancesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPluginInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListPluginInstancesRequest) GetFilter added in v0.2.0

func (x *ListPluginInstancesRequest) GetFilter() string

func (*ListPluginInstancesRequest) GetPageSize added in v0.2.0

func (x *ListPluginInstancesRequest) GetPageSize() int32

func (*ListPluginInstancesRequest) GetPageToken added in v0.2.0

func (x *ListPluginInstancesRequest) GetPageToken() string

func (*ListPluginInstancesRequest) GetParent added in v0.2.0

func (x *ListPluginInstancesRequest) GetParent() string

func (*ListPluginInstancesRequest) ProtoMessage added in v0.2.0

func (*ListPluginInstancesRequest) ProtoMessage()

func (*ListPluginInstancesRequest) ProtoReflect added in v0.2.0

func (*ListPluginInstancesRequest) Reset added in v0.2.0

func (x *ListPluginInstancesRequest) Reset()

func (*ListPluginInstancesRequest) String added in v0.2.0

func (x *ListPluginInstancesRequest) String() string

type ListPluginInstancesResponse added in v0.2.0

type ListPluginInstancesResponse struct {

	// The plugin instances from the specified parent resource.
	PluginInstances []*PluginInstance `protobuf:"bytes,1,rep,name=plugin_instances,json=pluginInstances,proto3" json:"plugin_instances,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListPluginInstances][google.cloud.apihub.v1.ApiHubPlugin.ListPluginInstances] method's response.

func (*ListPluginInstancesResponse) Descriptor deprecated added in v0.2.0

func (*ListPluginInstancesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPluginInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListPluginInstancesResponse) GetNextPageToken added in v0.2.0

func (x *ListPluginInstancesResponse) GetNextPageToken() string

func (*ListPluginInstancesResponse) GetPluginInstances added in v0.2.0

func (x *ListPluginInstancesResponse) GetPluginInstances() []*PluginInstance

func (*ListPluginInstancesResponse) ProtoMessage added in v0.2.0

func (*ListPluginInstancesResponse) ProtoMessage()

func (*ListPluginInstancesResponse) ProtoReflect added in v0.2.0

func (*ListPluginInstancesResponse) Reset added in v0.2.0

func (x *ListPluginInstancesResponse) Reset()

func (*ListPluginInstancesResponse) String added in v0.2.0

func (x *ListPluginInstancesResponse) String() string

type ListPluginsRequest added in v0.2.0

type ListPluginsRequest struct {

	// Required. The parent resource where this plugin will be created.
	// Format: `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of plugins.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string. The
	// comparison operator must be one of: `<`, `>` or
	// `=`. Filters are not case sensitive.
	//
	// The following fields in the `Plugins` are eligible for filtering:
	//
	//   - `plugin_category` - The category of the Plugin. Allowed
	//     comparison operators: `=`.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are
	// supported. At most three filter fields are allowed in the filter
	// string and if provided more than that then `INVALID_ARGUMENT` error is
	// returned by the API.
	// Here are a few examples:
	//
	//   - `plugin_category = ON_RAMP` - The plugin is of category
	//     on ramp.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of hub plugins to return. The service may
	// return fewer than this value. If unspecified, at most 50 hub plugins will
	// be returned. The maximum value is 1000; values above 1000 will be coerced
	// to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListPlugins` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListPlugins` must match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListPlugins][google.cloud.apihub.v1.ApiHubPlugin.ListPlugins] method's request.

func (*ListPluginsRequest) Descriptor deprecated added in v0.2.0

func (*ListPluginsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPluginsRequest.ProtoReflect.Descriptor instead.

func (*ListPluginsRequest) GetFilter added in v0.2.0

func (x *ListPluginsRequest) GetFilter() string

func (*ListPluginsRequest) GetPageSize added in v0.2.0

func (x *ListPluginsRequest) GetPageSize() int32

func (*ListPluginsRequest) GetPageToken added in v0.2.0

func (x *ListPluginsRequest) GetPageToken() string

func (*ListPluginsRequest) GetParent added in v0.2.0

func (x *ListPluginsRequest) GetParent() string

func (*ListPluginsRequest) ProtoMessage added in v0.2.0

func (*ListPluginsRequest) ProtoMessage()

func (*ListPluginsRequest) ProtoReflect added in v0.2.0

func (x *ListPluginsRequest) ProtoReflect() protoreflect.Message

func (*ListPluginsRequest) Reset added in v0.2.0

func (x *ListPluginsRequest) Reset()

func (*ListPluginsRequest) String added in v0.2.0

func (x *ListPluginsRequest) String() string

type ListPluginsResponse added in v0.2.0

type ListPluginsResponse struct {

	// The plugins from the specified parent resource.
	Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListPlugins][google.cloud.apihub.v1.ApiHubPlugin.ListPlugins] method's response.

func (*ListPluginsResponse) Descriptor deprecated added in v0.2.0

func (*ListPluginsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPluginsResponse.ProtoReflect.Descriptor instead.

func (*ListPluginsResponse) GetNextPageToken added in v0.2.0

func (x *ListPluginsResponse) GetNextPageToken() string

func (*ListPluginsResponse) GetPlugins added in v0.2.0

func (x *ListPluginsResponse) GetPlugins() []*Plugin

func (*ListPluginsResponse) ProtoMessage added in v0.2.0

func (*ListPluginsResponse) ProtoMessage()

func (*ListPluginsResponse) ProtoReflect added in v0.2.0

func (x *ListPluginsResponse) ProtoReflect() protoreflect.Message

func (*ListPluginsResponse) Reset added in v0.2.0

func (x *ListPluginsResponse) Reset()

func (*ListPluginsResponse) String added in v0.2.0

func (x *ListPluginsResponse) String() string

type ListRuntimeProjectAttachmentsRequest

type ListRuntimeProjectAttachmentsRequest struct {

	// Required. The parent, which owns this collection of runtime project
	// attachments. Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of runtime project attachments to return. The
	// service may return fewer than this value. If unspecified, at most 50
	// runtime project attachments will be returned. The maximum value is 1000;
	// values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// `ListRuntimeProjectAttachments` call. Provide this to retrieve the
	// subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListRuntimeProjectAttachments` must match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. An expression that filters the list of RuntimeProjectAttachments.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string. All
	// standard operators as documented at https://google.aip.dev/160 are
	// supported.
	//
	// The following fields in the `RuntimeProjectAttachment` are eligible for
	// filtering:
	//
	//   - `name` - The name of the RuntimeProjectAttachment.
	//   - `create_time` - The time at which the RuntimeProjectAttachment was
	//     created. The value should be in the
	//     (RFC3339)[https://tools.ietf.org/html/rfc3339] format.
	//   - `runtime_project` - The Google cloud project associated with the
	//     RuntimeProjectAttachment.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Hint for how to order the results.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

The [ListRuntimeProjectAttachments][google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments] method's request.

func (*ListRuntimeProjectAttachmentsRequest) Descriptor deprecated

func (*ListRuntimeProjectAttachmentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimeProjectAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*ListRuntimeProjectAttachmentsRequest) GetFilter

func (*ListRuntimeProjectAttachmentsRequest) GetOrderBy

func (*ListRuntimeProjectAttachmentsRequest) GetPageSize

func (*ListRuntimeProjectAttachmentsRequest) GetPageToken

func (x *ListRuntimeProjectAttachmentsRequest) GetPageToken() string

func (*ListRuntimeProjectAttachmentsRequest) GetParent

func (*ListRuntimeProjectAttachmentsRequest) ProtoMessage

func (*ListRuntimeProjectAttachmentsRequest) ProtoMessage()

func (*ListRuntimeProjectAttachmentsRequest) ProtoReflect

func (*ListRuntimeProjectAttachmentsRequest) Reset

func (*ListRuntimeProjectAttachmentsRequest) String

type ListRuntimeProjectAttachmentsResponse

type ListRuntimeProjectAttachmentsResponse struct {

	// List of runtime project attachments.
	RuntimeProjectAttachments []*RuntimeProjectAttachment `` /* 138-byte string literal not displayed */
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListRuntimeProjectAttachments][google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments] method's response.

func (*ListRuntimeProjectAttachmentsResponse) Descriptor deprecated

func (*ListRuntimeProjectAttachmentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimeProjectAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*ListRuntimeProjectAttachmentsResponse) GetNextPageToken

func (x *ListRuntimeProjectAttachmentsResponse) GetNextPageToken() string

func (*ListRuntimeProjectAttachmentsResponse) GetRuntimeProjectAttachments

func (x *ListRuntimeProjectAttachmentsResponse) GetRuntimeProjectAttachments() []*RuntimeProjectAttachment

func (*ListRuntimeProjectAttachmentsResponse) ProtoMessage

func (*ListRuntimeProjectAttachmentsResponse) ProtoMessage()

func (*ListRuntimeProjectAttachmentsResponse) ProtoReflect

func (*ListRuntimeProjectAttachmentsResponse) Reset

func (*ListRuntimeProjectAttachmentsResponse) String

type ListSpecsRequest

type ListSpecsRequest struct {

	// Required. The parent, which owns this collection of specs.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of Specs.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string. The
	// comparison operator must be one of: `<`, `>`, `:` or `=`. Filters are not
	// case sensitive.
	//
	// The following fields in the `Spec` are eligible for filtering:
	//
	//   - `display_name` - The display name of the Spec. Allowed comparison
	//     operators: `=`.
	//   - `create_time` - The time at which the Spec was created. The
	//     value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339]
	//     format. Allowed comparison operators: `>` and `<`.
	//   - `spec_type.enum_values.values.id` - The allowed value id of the
	//     spec_type attribute associated with the Spec. Allowed comparison
	//     operators: `:`.
	//   - `spec_type.enum_values.values.display_name` - The allowed value display
	//     name of the spec_type attribute associated with the Spec. Allowed
	//     comparison operators: `:`.
	//   - `lint_response.json_values.values` - The json value of the
	//     lint_response attribute associated with the Spec. Allowed comparison
	//     operators: `:`.
	//   - `mime_type` - The MIME type of the Spec. Allowed comparison
	//     operators: `=`.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.id` - The
	//     allowed value id of the user defined enum attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-id is a placeholder that can be replaced with
	//     any user defined enum attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.display_name`
	//   - The allowed value display name of the user defined enum attribute
	//     associated with the Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-display-name is a placeholder that can be
	//     replaced with any user defined enum attribute enum name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.string_values.values` - The
	//     allowed value of the user defined string attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-string is a placeholder that can be replaced with
	//     any user defined string attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.json_values.values` - The
	//     allowed value of the user defined JSON attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-json is a placeholder that can be replaced with
	//     any user defined JSON attribute name.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are
	// supported. At most three filter fields are allowed in the filter
	// string and if provided more than that then `INVALID_ARGUMENT` error is
	// returned by the API.
	//
	// Here are a few examples:
	//
	//   - `spec_type.enum_values.values.id: rest-id` -  The filter
	//     string specifies that the id of the allowed value associated with the
	//     spec_type attribute is _rest-id_.
	//   - `spec_type.enum_values.values.display_name: \"Rest Display Name\"` -
	//     The filter string specifies that the display name of the allowed value
	//     associated with the spec_type attribute is `Rest Display Name`.
	//   - `spec_type.enum_values.values.id: grpc-id AND create_time <
	//     \"2021-08-15T14:50:00Z\" AND create_time > \"2021-08-10T12:00:00Z\"` -
	//     The id of the allowed value associated with the spec_type attribute is
	//     _grpc-id_ and the spec was created before _2021-08-15 14:50:00 UTC_ and
	//     after _2021-08-10 12:00:00 UTC_.
	//   - `spec_type.enum_values.values.id: rest-id OR
	//     spec_type.enum_values.values.id: grpc-id`
	//   - The id of the allowed value associated with the spec_type attribute is
	//     _rest-id_ or _grpc-id_.
	//   - `spec_type.enum_values.values.id: rest-id AND
	//     attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/17650f90-4a29-4971-b3c0-d5532da3764b.enum_values.values.id:
	//     test`  - The filter string specifies that the id of the allowed value
	//     associated with the spec_type attribute is _rest-id_ and the id of the
	//     allowed value associated with the user defined attribute of type enum is
	//     _test_.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of specs to return. The service may return
	// fewer than this value. If unspecified, at most 50 specs will be
	// returned. The maximum value is 1000; values above 1000 will be coerced to
	// 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListSpecs` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListSpecs` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListSpecs][ListSpecs] method's request.

func (*ListSpecsRequest) Descriptor deprecated

func (*ListSpecsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSpecsRequest.ProtoReflect.Descriptor instead.

func (*ListSpecsRequest) GetFilter

func (x *ListSpecsRequest) GetFilter() string

func (*ListSpecsRequest) GetPageSize

func (x *ListSpecsRequest) GetPageSize() int32

func (*ListSpecsRequest) GetPageToken

func (x *ListSpecsRequest) GetPageToken() string

func (*ListSpecsRequest) GetParent

func (x *ListSpecsRequest) GetParent() string

func (*ListSpecsRequest) ProtoMessage

func (*ListSpecsRequest) ProtoMessage()

func (*ListSpecsRequest) ProtoReflect

func (x *ListSpecsRequest) ProtoReflect() protoreflect.Message

func (*ListSpecsRequest) Reset

func (x *ListSpecsRequest) Reset()

func (*ListSpecsRequest) String

func (x *ListSpecsRequest) String() string

type ListSpecsResponse

type ListSpecsResponse struct {

	// The specs corresponding to an API Version.
	Specs []*Spec `protobuf:"bytes,1,rep,name=specs,proto3" json:"specs,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListSpecs][google.cloud.apihub.v1.ApiHub.ListSpecs] method's response.

func (*ListSpecsResponse) Descriptor deprecated

func (*ListSpecsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSpecsResponse.ProtoReflect.Descriptor instead.

func (*ListSpecsResponse) GetNextPageToken

func (x *ListSpecsResponse) GetNextPageToken() string

func (*ListSpecsResponse) GetSpecs

func (x *ListSpecsResponse) GetSpecs() []*Spec

func (*ListSpecsResponse) ProtoMessage

func (*ListSpecsResponse) ProtoMessage()

func (*ListSpecsResponse) ProtoReflect

func (x *ListSpecsResponse) ProtoReflect() protoreflect.Message

func (*ListSpecsResponse) Reset

func (x *ListSpecsResponse) Reset()

func (*ListSpecsResponse) String

func (x *ListSpecsResponse) String() string

type ListVersionsRequest

type ListVersionsRequest struct {

	// Required. The parent which owns this collection of API versions i.e., the
	// API resource Format: `projects/{project}/locations/{location}/apis/{api}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An expression that filters the list of Versions.
	//
	// A filter expression consists of a field name, a comparison
	// operator, and a value for filtering. The value must be a string, a
	// number, or a boolean. The comparison operator must be one of: `<`, `>` or
	// `=`. Filters are not case sensitive.
	//
	// The following fields in the `Version` are eligible for filtering:
	//
	//   - `display_name` - The display name of the Version. Allowed
	//     comparison operators: `=`.
	//   - `create_time` - The time at which the Version was created. The
	//     value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339]
	//     format. Allowed comparison operators: `>` and `<`.
	//   - `lifecycle.enum_values.values.id` - The allowed value id of the
	//     lifecycle attribute associated with the Version. Allowed comparison
	//     operators: `:`.
	//   - `lifecycle.enum_values.values.display_name` - The allowed value display
	//     name of the lifecycle attribute associated with the Version. Allowed
	//     comparison operators: `:`.
	//   - `compliance.enum_values.values.id` -  The allowed value id of the
	//     compliances attribute associated with the Version. Allowed comparison
	//     operators: `:`.
	//   - `compliance.enum_values.values.display_name` -  The allowed value
	//     display name of the compliances attribute associated with the Version.
	//     Allowed comparison operators: `:`.
	//   - `accreditation.enum_values.values.id` - The allowed value id of the
	//     accreditations attribute associated with the Version. Allowed
	//     comparison operators: `:`.
	//   - `accreditation.enum_values.values.display_name` - The allowed value
	//     display name of the accreditations attribute associated with the Version.
	//     Allowed comparison operators: `:`.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.id` - The
	//     allowed value id of the user defined enum attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-id is a placeholder that can be replaced with
	//     any user defined enum attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.enum_values.values.display_name`
	//   - The allowed value display name of the user defined enum attribute
	//     associated with the Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-enum-display-name is a placeholder that can be
	//     replaced with any user defined enum attribute enum name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.string_values.values` - The
	//     allowed value of the user defined string attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-string is a placeholder that can be replaced with
	//     any user defined string attribute name.
	//   - `attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/user-defined-attribute-id.json_values.values` - The
	//     allowed value of the user defined JSON attribute associated with the
	//     Resource. Allowed comparison operator is `:`. Here
	//     user-defined-attribute-json is a placeholder that can be replaced with
	//     any user defined JSON attribute name.
	//
	// Expressions are combined with either `AND` logic operator or `OR` logical
	// operator but not both of them together i.e. only one of the `AND` or `OR`
	// operator can be used throughout the filter string and both the operators
	// cannot be used together. No other logical operators are
	// supported. At most three filter fields are allowed in the filter
	// string and if provided more than that then `INVALID_ARGUMENT` error is
	// returned by the API.
	//
	// Here are a few examples:
	//
	//   - `lifecycle.enum_values.values.id: preview-id` - The filter string
	//     specifies that the id of the allowed value associated with the lifecycle
	//     attribute of the Version is _preview-id_.
	//   - `lifecycle.enum_values.values.display_name: \"Preview Display Name\"` -
	//     The filter string specifies that the display name of the allowed value
	//     associated with the lifecycle attribute of the Version is `Preview
	//     Display Name`.
	//   - `lifecycle.enum_values.values.id: preview-id AND create_time <
	//     \"2021-08-15T14:50:00Z\" AND create_time > \"2021-08-10T12:00:00Z\"` -
	//     The id of the allowed value associated with the lifecycle attribute of
	//     the Version is _preview-id_ and it was created before _2021-08-15
	//     14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_.
	//   - `compliance.enum_values.values.id: gdpr-id OR
	//     compliance.enum_values.values.id: pci-dss-id`
	//   - The id of the allowed value associated with the compliance attribute is
	//     _gdpr-id_ or _pci-dss-id_.
	//   - `lifecycle.enum_values.values.id: preview-id AND
	//     attributes.projects/test-project-id/locations/test-location-id/
	//     attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values:
	//     test`  - The filter string specifies that the id of the allowed value
	//     associated with the lifecycle attribute of the Version is _preview-id_
	//     and the value of the user defined attribute of type string is _test_.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of versions to return. The service may return
	// fewer than this value. If unspecified, at most 50 versions will be
	// returned. The maximum value is 1000; values above 1000 will be coerced to
	// 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListVersions` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters (except page_size) provided to
	// `ListVersions` must match the call that provided the page token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListVersions][google.cloud.apihub.v1.ApiHub.ListVersions] method's request.

func (*ListVersionsRequest) Descriptor deprecated

func (*ListVersionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListVersionsRequest) GetFilter

func (x *ListVersionsRequest) GetFilter() string

func (*ListVersionsRequest) GetPageSize

func (x *ListVersionsRequest) GetPageSize() int32

func (*ListVersionsRequest) GetPageToken

func (x *ListVersionsRequest) GetPageToken() string

func (*ListVersionsRequest) GetParent

func (x *ListVersionsRequest) GetParent() string

func (*ListVersionsRequest) ProtoMessage

func (*ListVersionsRequest) ProtoMessage()

func (*ListVersionsRequest) ProtoReflect

func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message

func (*ListVersionsRequest) Reset

func (x *ListVersionsRequest) Reset()

func (*ListVersionsRequest) String

func (x *ListVersionsRequest) String() string

type ListVersionsResponse

type ListVersionsResponse struct {

	// The versions corresponding to an API.
	Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The [ListVersions][google.cloud.apihub.v1.ApiHub.ListVersions] method's response.

func (*ListVersionsResponse) Descriptor deprecated

func (*ListVersionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListVersionsResponse) GetNextPageToken

func (x *ListVersionsResponse) GetNextPageToken() string

func (*ListVersionsResponse) GetVersions

func (x *ListVersionsResponse) GetVersions() []*Version

func (*ListVersionsResponse) ProtoMessage

func (*ListVersionsResponse) ProtoMessage()

func (*ListVersionsResponse) ProtoReflect

func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message

func (*ListVersionsResponse) Reset

func (x *ListVersionsResponse) Reset()

func (*ListVersionsResponse) String

func (x *ListVersionsResponse) String() string

type LookupApiHubInstanceRequest

type LookupApiHubInstanceRequest struct {

	// Required. There will always be only one Api Hub instance for a GCP project
	// across all locations.
	// The parent resource for the Api Hub instance resource.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

The [LookupApiHubInstance][google.cloud.apihub.v1.Provisioning.LookupApiHubInstance] method's request.

func (*LookupApiHubInstanceRequest) Descriptor deprecated

func (*LookupApiHubInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use LookupApiHubInstanceRequest.ProtoReflect.Descriptor instead.

func (*LookupApiHubInstanceRequest) GetParent

func (x *LookupApiHubInstanceRequest) GetParent() string

func (*LookupApiHubInstanceRequest) ProtoMessage

func (*LookupApiHubInstanceRequest) ProtoMessage()

func (*LookupApiHubInstanceRequest) ProtoReflect

func (*LookupApiHubInstanceRequest) Reset

func (x *LookupApiHubInstanceRequest) Reset()

func (*LookupApiHubInstanceRequest) String

func (x *LookupApiHubInstanceRequest) String() string

type LookupApiHubInstanceResponse

type LookupApiHubInstanceResponse struct {

	// API Hub instance for a project if it exists, empty otherwise.
	ApiHubInstance *ApiHubInstance `protobuf:"bytes,1,opt,name=api_hub_instance,json=apiHubInstance,proto3" json:"api_hub_instance,omitempty"`
	// contains filtered or unexported fields
}

The [LookupApiHubInstance][google.cloud.apihub.v1.Provisioning.LookupApiHubInstance] method's response.`

func (*LookupApiHubInstanceResponse) Descriptor deprecated

func (*LookupApiHubInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use LookupApiHubInstanceResponse.ProtoReflect.Descriptor instead.

func (*LookupApiHubInstanceResponse) GetApiHubInstance

func (x *LookupApiHubInstanceResponse) GetApiHubInstance() *ApiHubInstance

func (*LookupApiHubInstanceResponse) ProtoMessage

func (*LookupApiHubInstanceResponse) ProtoMessage()

func (*LookupApiHubInstanceResponse) ProtoReflect

func (*LookupApiHubInstanceResponse) Reset

func (x *LookupApiHubInstanceResponse) Reset()

func (*LookupApiHubInstanceResponse) String

type LookupRuntimeProjectAttachmentRequest

type LookupRuntimeProjectAttachmentRequest struct {

	// Required. Runtime project ID to look up runtime project attachment for.
	// Lookup happens across all regions. Expected format:
	// `projects/{project}/locations/{location}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The [LookupRuntimeProjectAttachment][google.cloud.apihub.v1.RuntimeProjectAttachmentService.LookupRuntimeProjectAttachment] method's request.

func (*LookupRuntimeProjectAttachmentRequest) Descriptor deprecated

func (*LookupRuntimeProjectAttachmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use LookupRuntimeProjectAttachmentRequest.ProtoReflect.Descriptor instead.

func (*LookupRuntimeProjectAttachmentRequest) GetName

func (*LookupRuntimeProjectAttachmentRequest) ProtoMessage

func (*LookupRuntimeProjectAttachmentRequest) ProtoMessage()

func (*LookupRuntimeProjectAttachmentRequest) ProtoReflect

func (*LookupRuntimeProjectAttachmentRequest) Reset

func (*LookupRuntimeProjectAttachmentRequest) String

type LookupRuntimeProjectAttachmentResponse

type LookupRuntimeProjectAttachmentResponse struct {

	// Runtime project attachment for a project if exists, empty otherwise.
	RuntimeProjectAttachment *RuntimeProjectAttachment `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

The [ListRuntimeProjectAttachments][google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments] method's response.

func (*LookupRuntimeProjectAttachmentResponse) Descriptor deprecated

func (*LookupRuntimeProjectAttachmentResponse) Descriptor() ([]byte, []int)

Deprecated: Use LookupRuntimeProjectAttachmentResponse.ProtoReflect.Descriptor instead.

func (*LookupRuntimeProjectAttachmentResponse) GetRuntimeProjectAttachment

func (x *LookupRuntimeProjectAttachmentResponse) GetRuntimeProjectAttachment() *RuntimeProjectAttachment

func (*LookupRuntimeProjectAttachmentResponse) ProtoMessage

func (*LookupRuntimeProjectAttachmentResponse) ProtoReflect

func (*LookupRuntimeProjectAttachmentResponse) Reset

func (*LookupRuntimeProjectAttachmentResponse) String

type OpenApiSpecDetails

type OpenApiSpecDetails struct {

	// Output only. The format of the spec.
	Format OpenApiSpecDetails_Format `protobuf:"varint,1,opt,name=format,proto3,enum=google.cloud.apihub.v1.OpenApiSpecDetails_Format" json:"format,omitempty"`
	// Output only. The version in the spec.
	// This maps to `info.version` in OpenAPI spec.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Output only. Owner details for the spec.
	// This maps to `info.contact` in OpenAPI spec.
	Owner *Owner `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in SpecDetails[google.cloud.apihub.v1.SpecDetails].

func (*OpenApiSpecDetails) Descriptor deprecated

func (*OpenApiSpecDetails) Descriptor() ([]byte, []int)

Deprecated: Use OpenApiSpecDetails.ProtoReflect.Descriptor instead.

func (*OpenApiSpecDetails) GetFormat

func (*OpenApiSpecDetails) GetOwner

func (x *OpenApiSpecDetails) GetOwner() *Owner

func (*OpenApiSpecDetails) GetVersion

func (x *OpenApiSpecDetails) GetVersion() string

func (*OpenApiSpecDetails) ProtoMessage

func (*OpenApiSpecDetails) ProtoMessage()

func (*OpenApiSpecDetails) ProtoReflect

func (x *OpenApiSpecDetails) ProtoReflect() protoreflect.Message

func (*OpenApiSpecDetails) Reset

func (x *OpenApiSpecDetails) Reset()

func (*OpenApiSpecDetails) String

func (x *OpenApiSpecDetails) String() string

type OpenApiSpecDetails_Format

type OpenApiSpecDetails_Format int32

Enumeration of spec formats.

const (
	// SpecFile type unspecified.
	OpenApiSpecDetails_FORMAT_UNSPECIFIED OpenApiSpecDetails_Format = 0
	// OpenAPI Spec v2.0.
	OpenApiSpecDetails_OPEN_API_SPEC_2_0 OpenApiSpecDetails_Format = 1
	// OpenAPI Spec v3.0.
	OpenApiSpecDetails_OPEN_API_SPEC_3_0 OpenApiSpecDetails_Format = 2
	// OpenAPI Spec v3.1.
	OpenApiSpecDetails_OPEN_API_SPEC_3_1 OpenApiSpecDetails_Format = 3
)

func (OpenApiSpecDetails_Format) Descriptor

func (OpenApiSpecDetails_Format) Enum

func (OpenApiSpecDetails_Format) EnumDescriptor deprecated

func (OpenApiSpecDetails_Format) EnumDescriptor() ([]byte, []int)

Deprecated: Use OpenApiSpecDetails_Format.Descriptor instead.

func (OpenApiSpecDetails_Format) Number

func (OpenApiSpecDetails_Format) String

func (x OpenApiSpecDetails_Format) String() string

func (OpenApiSpecDetails_Format) Type

type OperationDetails

type OperationDetails struct {

	// Types that are assignable to Operation:
	//
	//	*OperationDetails_HttpOperation
	Operation isOperationDetails_Operation `protobuf_oneof:"operation"`
	// Optional. Description of the operation behavior.
	// For OpenAPI spec, this will map to `operation.description` in the
	// spec, in case description is empty, `operation.summary` will be used.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. Additional external documentation for this operation.
	// For OpenAPI spec, this will map to `operation.documentation` in the spec.
	Documentation *Documentation `protobuf:"bytes,2,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Optional. For OpenAPI spec, this will be set if `operation.deprecated`is
	// marked as `true` in the spec.
	Deprecated bool `protobuf:"varint,3,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	// contains filtered or unexported fields
}

The operation details parsed from the spec.

func (*OperationDetails) Descriptor deprecated

func (*OperationDetails) Descriptor() ([]byte, []int)

Deprecated: Use OperationDetails.ProtoReflect.Descriptor instead.

func (*OperationDetails) GetDeprecated

func (x *OperationDetails) GetDeprecated() bool

func (*OperationDetails) GetDescription

func (x *OperationDetails) GetDescription() string

func (*OperationDetails) GetDocumentation

func (x *OperationDetails) GetDocumentation() *Documentation

func (*OperationDetails) GetHttpOperation

func (x *OperationDetails) GetHttpOperation() *HttpOperation

func (*OperationDetails) GetOperation

func (m *OperationDetails) GetOperation() isOperationDetails_Operation

func (*OperationDetails) ProtoMessage

func (*OperationDetails) ProtoMessage()

func (*OperationDetails) ProtoReflect

func (x *OperationDetails) ProtoReflect() protoreflect.Message

func (*OperationDetails) Reset

func (x *OperationDetails) Reset()

func (*OperationDetails) String

func (x *OperationDetails) String() string

type OperationDetails_HttpOperation

type OperationDetails_HttpOperation struct {
	// The HTTP Operation.
	HttpOperation *HttpOperation `protobuf:"bytes,4,opt,name=http_operation,json=httpOperation,proto3,oneof"`
}

type OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have been cancelled successfully
	// have [Operation.error][google.longrunning.Operation.error] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type Owner

type Owner struct {

	// Optional. The name of the owner.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The email of the owner.
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Owner details.

func (*Owner) Descriptor deprecated

func (*Owner) Descriptor() ([]byte, []int)

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetDisplayName

func (x *Owner) GetDisplayName() string

func (*Owner) GetEmail

func (x *Owner) GetEmail() string

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect

func (x *Owner) ProtoReflect() protoreflect.Message

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

type Path

type Path struct {

	// Optional. Complete path relative to server endpoint.
	// Note: Even though this field is optional, it is required for
	// [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation]
	// API and we will fail the request if not provided.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Optional. A short description for the path applicable to all operations.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

The path details derived from the spec.

func (*Path) Descriptor deprecated

func (*Path) Descriptor() ([]byte, []int)

Deprecated: Use Path.ProtoReflect.Descriptor instead.

func (*Path) GetDescription

func (x *Path) GetDescription() string

func (*Path) GetPath

func (x *Path) GetPath() string

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) ProtoReflect

func (x *Path) ProtoReflect() protoreflect.Message

func (*Path) Reset

func (x *Path) Reset()

func (*Path) String

func (x *Path) String() string

type Plugin

type Plugin struct {

	// Identifier. The name of the plugin.
	// Format: `projects/{project}/locations/{location}/plugins/{plugin}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the plugin. Max length is 50 characters
	// (Unicode code points).
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The type of the API.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-plugin-type`
	// attribute.
	// The number of allowed values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	// Note this field is not required for plugins developed via plugin framework.
	Type *AttributeValues `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Optional. The plugin description. Max length is 2000 characters (Unicode
	// code points).
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Represents the state of the plugin.
	// Note this field will not be set for plugins developed via plugin
	// framework as the state will be managed at plugin instance level.
	State Plugin_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.apihub.v1.Plugin_State" json:"state,omitempty"`
	// Output only. The type of the plugin, indicating whether it is
	// 'SYSTEM_OWNED' or 'USER_OWNED'.
	OwnershipType Plugin_OwnershipType `` /* 150-byte string literal not displayed */
	// Optional. This field is optional. It is used to notify the plugin hosting
	// service for any lifecycle changes of the plugin instance and trigger
	// execution of plugin instance actions in case of API hub managed actions.
	//
	// This field should be provided if the plugin instance lifecycle of the
	// developed plugin needs to be managed from API hub. Also, in this case the
	// plugin hosting service interface needs to be implemented.
	//
	// This field should not be provided if the plugin wants to manage plugin
	// instance lifecycle events outside of hub interface and use plugin framework
	// for only registering of plugin and plugin instances to capture the source
	// of data into hub. Note, in this case the plugin hosting service interface
	// is not required to be implemented. Also, the plugin instance lifecycle
	// actions will be disabled from API hub's UI.
	HostingService *Plugin_HostingService `protobuf:"bytes,7,opt,name=hosting_service,json=hostingService,proto3" json:"hosting_service,omitempty"`
	// Optional. The configuration of actions supported by the plugin.
	// **REQUIRED**: This field must be provided when creating or updating a
	// Plugin. The server will reject requests if this field is missing.
	ActionsConfig []*PluginActionConfig `protobuf:"bytes,8,rep,name=actions_config,json=actionsConfig,proto3" json:"actions_config,omitempty"`
	// Optional. The documentation of the plugin, that explains how to set up and
	// use the plugin.
	Documentation *Documentation `protobuf:"bytes,9,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Optional. The category of the plugin, identifying its primary category or
	// purpose. This field is required for all plugins.
	PluginCategory PluginCategory `` /* 148-byte string literal not displayed */
	// Optional. The configuration template for the plugin.
	ConfigTemplate *Plugin_ConfigTemplate `protobuf:"bytes,12,opt,name=config_template,json=configTemplate,proto3" json:"config_template,omitempty"`
	// Output only. Timestamp indicating when the plugin was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Timestamp indicating when the plugin was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The type of the gateway.
	GatewayType GatewayType `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

A plugin resource in the API Hub.

func (*Plugin) Descriptor deprecated

func (*Plugin) Descriptor() ([]byte, []int)

Deprecated: Use Plugin.ProtoReflect.Descriptor instead.

func (*Plugin) GetActionsConfig added in v0.2.0

func (x *Plugin) GetActionsConfig() []*PluginActionConfig

func (*Plugin) GetConfigTemplate added in v0.2.0

func (x *Plugin) GetConfigTemplate() *Plugin_ConfigTemplate

func (*Plugin) GetCreateTime added in v0.2.0

func (x *Plugin) GetCreateTime() *timestamppb.Timestamp

func (*Plugin) GetDescription

func (x *Plugin) GetDescription() string

func (*Plugin) GetDisplayName

func (x *Plugin) GetDisplayName() string

func (*Plugin) GetDocumentation added in v0.2.0

func (x *Plugin) GetDocumentation() *Documentation

func (*Plugin) GetGatewayType added in v0.2.0

func (x *Plugin) GetGatewayType() GatewayType

func (*Plugin) GetHostingService added in v0.2.0

func (x *Plugin) GetHostingService() *Plugin_HostingService

func (*Plugin) GetName

func (x *Plugin) GetName() string

func (*Plugin) GetOwnershipType added in v0.2.0

func (x *Plugin) GetOwnershipType() Plugin_OwnershipType

func (*Plugin) GetPluginCategory added in v0.2.0

func (x *Plugin) GetPluginCategory() PluginCategory

func (*Plugin) GetState

func (x *Plugin) GetState() Plugin_State

func (*Plugin) GetType

func (x *Plugin) GetType() *AttributeValues

func (*Plugin) GetUpdateTime added in v0.2.0

func (x *Plugin) GetUpdateTime() *timestamppb.Timestamp

func (*Plugin) ProtoMessage

func (*Plugin) ProtoMessage()

func (*Plugin) ProtoReflect

func (x *Plugin) ProtoReflect() protoreflect.Message

func (*Plugin) Reset

func (x *Plugin) Reset()

func (*Plugin) String

func (x *Plugin) String() string

type PluginActionConfig added in v0.2.0

type PluginActionConfig struct {

	// Required. The id of the action.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. The display name of the action.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The description of the operation performed by the action.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Required. The trigger mode supported by the action.
	TriggerMode PluginActionConfig_TriggerMode `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

PluginActionConfig represents the configuration of an action supported by a plugin.

func (*PluginActionConfig) Descriptor deprecated added in v0.2.0

func (*PluginActionConfig) Descriptor() ([]byte, []int)

Deprecated: Use PluginActionConfig.ProtoReflect.Descriptor instead.

func (*PluginActionConfig) GetDescription added in v0.2.0

func (x *PluginActionConfig) GetDescription() string

func (*PluginActionConfig) GetDisplayName added in v0.2.0

func (x *PluginActionConfig) GetDisplayName() string

func (*PluginActionConfig) GetId added in v0.2.0

func (x *PluginActionConfig) GetId() string

func (*PluginActionConfig) GetTriggerMode added in v0.2.0

func (*PluginActionConfig) ProtoMessage added in v0.2.0

func (*PluginActionConfig) ProtoMessage()

func (*PluginActionConfig) ProtoReflect added in v0.2.0

func (x *PluginActionConfig) ProtoReflect() protoreflect.Message

func (*PluginActionConfig) Reset added in v0.2.0

func (x *PluginActionConfig) Reset()

func (*PluginActionConfig) String added in v0.2.0

func (x *PluginActionConfig) String() string

type PluginActionConfig_TriggerMode added in v0.2.0

type PluginActionConfig_TriggerMode int32

Execution mode of the action.

const (
	// Default unspecified mode.
	PluginActionConfig_TRIGGER_MODE_UNSPECIFIED PluginActionConfig_TriggerMode = 0
	// This action can be executed by invoking
	// [ExecutePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction]
	// API with the given action id. To support this, the plugin hosting service
	// should handle this action id as part of execute call.
	PluginActionConfig_API_HUB_ON_DEMAND_TRIGGER PluginActionConfig_TriggerMode = 1
	// This action will be executed on schedule by invoking
	// [ExecutePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction]
	// API with the given action id. To set the schedule, the user can provide
	// the cron expression in the
	// [PluginAction][PluginAction.schedule_cron_expression] field for a given
	// plugin instance. To support this, the plugin hosting service should
	// handle this action id as part of execute call.
	// Note, on demand execution will be supported by default in this trigger
	// mode.
	PluginActionConfig_API_HUB_SCHEDULE_TRIGGER PluginActionConfig_TriggerMode = 2
	// The execution of this plugin is not handled by API hub. In this case,
	// the plugin hosting service need not handle this action id as part of
	// the execute call.
	PluginActionConfig_NON_API_HUB_MANAGED PluginActionConfig_TriggerMode = 3
)

func (PluginActionConfig_TriggerMode) Descriptor added in v0.2.0

func (PluginActionConfig_TriggerMode) Enum added in v0.2.0

func (PluginActionConfig_TriggerMode) EnumDescriptor deprecated added in v0.2.0

func (PluginActionConfig_TriggerMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use PluginActionConfig_TriggerMode.Descriptor instead.

func (PluginActionConfig_TriggerMode) Number added in v0.2.0

func (PluginActionConfig_TriggerMode) String added in v0.2.0

func (PluginActionConfig_TriggerMode) Type added in v0.2.0

type PluginCategory added in v0.2.0

type PluginCategory int32

Enum for the plugin category.

const (
	// Default unspecified plugin type.
	PluginCategory_PLUGIN_CATEGORY_UNSPECIFIED PluginCategory = 0
	// API_GATEWAY plugins represent plugins built for API Gateways like Apigee.
	PluginCategory_API_GATEWAY PluginCategory = 1
	// API_PRODUCER plugins represent plugins built for API Producers like
	// Cloud Run, Application Integration etc.
	PluginCategory_API_PRODUCER PluginCategory = 2
)

func (PluginCategory) Descriptor added in v0.2.0

func (PluginCategory) Enum added in v0.2.0

func (x PluginCategory) Enum() *PluginCategory

func (PluginCategory) EnumDescriptor deprecated added in v0.2.0

func (PluginCategory) EnumDescriptor() ([]byte, []int)

Deprecated: Use PluginCategory.Descriptor instead.

func (PluginCategory) Number added in v0.2.0

func (PluginCategory) String added in v0.2.0

func (x PluginCategory) String() string

func (PluginCategory) Type added in v0.2.0

type PluginInstance added in v0.2.0

type PluginInstance struct {

	// Identifier. The unique name of the plugin instance resource.
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name for this plugin instance. Max length is 255
	// characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The authentication information for this plugin instance.
	AuthConfig *AuthConfig `protobuf:"bytes,3,opt,name=auth_config,json=authConfig,proto3" json:"auth_config,omitempty"`
	// Optional. The additional information for this plugin instance corresponding
	// to the additional config template of the plugin. This information will be
	// sent to plugin hosting service on each call to plugin hosted service. The
	// key will be the config_variable_template.display_name to uniquely identify
	// the config variable.
	AdditionalConfig map[string]*ConfigVariable `` /* 197-byte string literal not displayed */
	// Output only. The current state of the plugin instance (e.g., enabled,
	// disabled, provisioning).
	State PluginInstance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.apihub.v1.PluginInstance_State" json:"state,omitempty"`
	// Output only. Error message describing the failure, if any, during Create,
	// Delete or ApplyConfig operation corresponding to the plugin instance.This
	// field will only be populated if the plugin instance is in the ERROR or
	// FAILED state.
	ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// Required. The action status for the plugin instance.
	Actions []*PluginInstanceAction `protobuf:"bytes,7,rep,name=actions,proto3" json:"actions,omitempty"`
	// Output only. Timestamp indicating when the plugin instance was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Timestamp indicating when the plugin instance was last
	// updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The source project id of the plugin instance. This will be the id
	// of runtime project in case of gcp based plugins and org id in case of non
	// gcp based plugins. This field will be a required field for Google provided
	// on-ramp plugins.
	SourceProjectId string `protobuf:"bytes,11,opt,name=source_project_id,json=sourceProjectId,proto3" json:"source_project_id,omitempty"`
	// contains filtered or unexported fields
}

Represents a plugin instance resource in the API Hub. A PluginInstance is a specific instance of a hub plugin with its own configuration, state, and execution details.

func (*PluginInstance) Descriptor deprecated added in v0.2.0

func (*PluginInstance) Descriptor() ([]byte, []int)

Deprecated: Use PluginInstance.ProtoReflect.Descriptor instead.

func (*PluginInstance) GetActions added in v0.2.0

func (x *PluginInstance) GetActions() []*PluginInstanceAction

func (*PluginInstance) GetAdditionalConfig added in v0.2.0

func (x *PluginInstance) GetAdditionalConfig() map[string]*ConfigVariable

func (*PluginInstance) GetAuthConfig added in v0.2.0

func (x *PluginInstance) GetAuthConfig() *AuthConfig

func (*PluginInstance) GetCreateTime added in v0.2.0

func (x *PluginInstance) GetCreateTime() *timestamppb.Timestamp

func (*PluginInstance) GetDisplayName added in v0.2.0

func (x *PluginInstance) GetDisplayName() string

func (*PluginInstance) GetErrorMessage added in v0.2.0

func (x *PluginInstance) GetErrorMessage() string

func (*PluginInstance) GetName added in v0.2.0

func (x *PluginInstance) GetName() string

func (*PluginInstance) GetSourceProjectId added in v0.2.0

func (x *PluginInstance) GetSourceProjectId() string

func (*PluginInstance) GetState added in v0.2.0

func (x *PluginInstance) GetState() PluginInstance_State

func (*PluginInstance) GetUpdateTime added in v0.2.0

func (x *PluginInstance) GetUpdateTime() *timestamppb.Timestamp

func (*PluginInstance) ProtoMessage added in v0.2.0

func (*PluginInstance) ProtoMessage()

func (*PluginInstance) ProtoReflect added in v0.2.0

func (x *PluginInstance) ProtoReflect() protoreflect.Message

func (*PluginInstance) Reset added in v0.2.0

func (x *PluginInstance) Reset()

func (*PluginInstance) String added in v0.2.0

func (x *PluginInstance) String() string

type PluginInstanceAction added in v0.2.0

type PluginInstanceAction struct {

	// The status of the plugin action.
	//
	// Types that are assignable to ActionStatus:
	//
	//	*PluginInstanceAction_HubInstanceAction
	ActionStatus isPluginInstanceAction_ActionStatus `protobuf_oneof:"action_status"`
	// Required. This should map to one of the [action
	// id][google.cloud.apihub.v1.PluginActionConfig.id] specified in
	// [actions_config][google.cloud.apihub.v1.Plugin.actions_config] in the
	// plugin.
	ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// Output only. The current state of the plugin action in the plugin instance.
	State PluginInstanceAction_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.apihub.v1.PluginInstanceAction_State" json:"state,omitempty"`
	// Optional. The schedule for this plugin instance action. This can only be
	// set if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.
	ScheduleCronExpression string `` /* 129-byte string literal not displayed */
	// Optional. This configuration should be provided if the plugin action is
	// publishing data to API hub curate layer.
	CurationConfig *CurationConfig `protobuf:"bytes,5,opt,name=curation_config,json=curationConfig,proto3" json:"curation_config,omitempty"`
	// Optional. The time zone for the schedule cron expression. If not provided,
	// UTC will be used.
	ScheduleTimeZone string `protobuf:"bytes,7,opt,name=schedule_time_zone,json=scheduleTimeZone,proto3" json:"schedule_time_zone,omitempty"`
	// Optional. The service account used to publish data. Note, the service
	// account will only be accepted for non GCP plugins like OPDK.
	ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Output only. The configuration of resources created for a given plugin
	// instance action. Note these will be returned only in case of Non-GCP
	// plugins like OPDK.
	ResourceConfig *PluginInstanceAction_ResourceConfig `protobuf:"bytes,9,opt,name=resource_config,json=resourceConfig,proto3" json:"resource_config,omitempty"`
	// contains filtered or unexported fields
}

PluginInstanceAction represents an action which can be executed in the plugin instance.

func (*PluginInstanceAction) Descriptor deprecated added in v0.2.0

func (*PluginInstanceAction) Descriptor() ([]byte, []int)

Deprecated: Use PluginInstanceAction.ProtoReflect.Descriptor instead.

func (*PluginInstanceAction) GetActionId added in v0.2.0

func (x *PluginInstanceAction) GetActionId() string

func (*PluginInstanceAction) GetActionStatus added in v0.2.0

func (m *PluginInstanceAction) GetActionStatus() isPluginInstanceAction_ActionStatus

func (*PluginInstanceAction) GetCurationConfig added in v0.2.0

func (x *PluginInstanceAction) GetCurationConfig() *CurationConfig

func (*PluginInstanceAction) GetHubInstanceAction added in v0.2.0

func (x *PluginInstanceAction) GetHubInstanceAction() *ExecutionStatus

func (*PluginInstanceAction) GetResourceConfig added in v0.2.0

func (*PluginInstanceAction) GetScheduleCronExpression added in v0.2.0

func (x *PluginInstanceAction) GetScheduleCronExpression() string

func (*PluginInstanceAction) GetScheduleTimeZone added in v0.2.0

func (x *PluginInstanceAction) GetScheduleTimeZone() string

func (*PluginInstanceAction) GetServiceAccount added in v0.2.0

func (x *PluginInstanceAction) GetServiceAccount() string

func (*PluginInstanceAction) GetState added in v0.2.0

func (*PluginInstanceAction) ProtoMessage added in v0.2.0

func (*PluginInstanceAction) ProtoMessage()

func (*PluginInstanceAction) ProtoReflect added in v0.2.0

func (x *PluginInstanceAction) ProtoReflect() protoreflect.Message

func (*PluginInstanceAction) Reset added in v0.2.0

func (x *PluginInstanceAction) Reset()

func (*PluginInstanceAction) String added in v0.2.0

func (x *PluginInstanceAction) String() string

type PluginInstanceAction_HubInstanceAction added in v0.2.0

type PluginInstanceAction_HubInstanceAction struct {
	// Optional. The execution information for the plugin instance action done
	// corresponding to an API hub instance.
	HubInstanceAction *ExecutionStatus `protobuf:"bytes,6,opt,name=hub_instance_action,json=hubInstanceAction,proto3,oneof"`
}

type PluginInstanceAction_ResourceConfig added in v0.2.0

type PluginInstanceAction_ResourceConfig struct {

	// Output only. The type of the action.
	ActionType ActionType `` /* 131-byte string literal not displayed */
	// Output only. The pubsub topic to publish the data to. Format is
	// projects/{project}/topics/{topic}
	PubsubTopic string `protobuf:"bytes,2,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`
	// contains filtered or unexported fields
}

The configuration of resources created for a given plugin instance action.

func (*PluginInstanceAction_ResourceConfig) Descriptor deprecated added in v0.2.0

func (*PluginInstanceAction_ResourceConfig) Descriptor() ([]byte, []int)

Deprecated: Use PluginInstanceAction_ResourceConfig.ProtoReflect.Descriptor instead.

func (*PluginInstanceAction_ResourceConfig) GetActionType added in v0.2.0

func (*PluginInstanceAction_ResourceConfig) GetPubsubTopic added in v0.2.0

func (x *PluginInstanceAction_ResourceConfig) GetPubsubTopic() string

func (*PluginInstanceAction_ResourceConfig) ProtoMessage added in v0.2.0

func (*PluginInstanceAction_ResourceConfig) ProtoMessage()

func (*PluginInstanceAction_ResourceConfig) ProtoReflect added in v0.2.0

func (*PluginInstanceAction_ResourceConfig) Reset added in v0.2.0

func (*PluginInstanceAction_ResourceConfig) String added in v0.2.0

type PluginInstanceAction_State added in v0.2.0

type PluginInstanceAction_State int32

State represents the state of the plugin instance action.

const (
	// Default unspecified state.
	PluginInstanceAction_STATE_UNSPECIFIED PluginInstanceAction_State = 0
	// The action is enabled in the plugin instance i.e., executions can
	// be triggered for this action.
	PluginInstanceAction_ENABLED PluginInstanceAction_State = 1
	// The action is disabled in the plugin instance i.e., no executions
	// can be triggered for this action. This state indicates that the user
	// explicitly disabled the instance, and no further action is needed unless
	// the user wants to re-enable it.
	PluginInstanceAction_DISABLED PluginInstanceAction_State = 2
	// The action in the plugin instance is being enabled.
	PluginInstanceAction_ENABLING PluginInstanceAction_State = 3
	// The action in the plugin instance is being disabled.
	PluginInstanceAction_DISABLING PluginInstanceAction_State = 4
	// The ERROR state can come while enabling/disabling plugin instance action.
	// Users can retrigger enable, disable via
	// [EnablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.EnablePluginInstanceAction]
	// and
	// [DisablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.DisablePluginInstanceAction]
	// to restore the action back to enabled/disabled state. Note enable/disable
	// on actions can only be triggered if plugin instance is in Active state.
	PluginInstanceAction_ERROR PluginInstanceAction_State = 5
)

func (PluginInstanceAction_State) Descriptor added in v0.2.0

func (PluginInstanceAction_State) Enum added in v0.2.0

func (PluginInstanceAction_State) EnumDescriptor deprecated added in v0.2.0

func (PluginInstanceAction_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use PluginInstanceAction_State.Descriptor instead.

func (PluginInstanceAction_State) Number added in v0.2.0

func (PluginInstanceAction_State) String added in v0.2.0

func (PluginInstanceAction_State) Type added in v0.2.0

type PluginInstance_State added in v0.2.0

type PluginInstance_State int32

State represents the state of the plugin instance.

const (
	// Default unspecified state.
	PluginInstance_STATE_UNSPECIFIED PluginInstance_State = 0
	// The plugin instance is being created.
	PluginInstance_CREATING PluginInstance_State = 1
	// The plugin instance is active and ready for executions. This is the only
	// state where executions can run on the plugin instance.
	PluginInstance_ACTIVE PluginInstance_State = 2
	// The updated config that contains
	// [additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]
	// and [auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] is
	// being applied.
	PluginInstance_APPLYING_CONFIG PluginInstance_State = 3
	// The ERROR state can come while applying config. Users
	// can retrigger
	// [ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]
	// to restore the plugin instance back to active state. Note, In case the
	// ERROR state happens while applying config (auth_config,
	// additional_config), the plugin instance will reflect the config which was
	// trying to be applied while error happened. In order to overwrite, trigger
	// ApplyConfig with a new config.
	PluginInstance_ERROR PluginInstance_State = 4
	// The plugin instance is in a failed state. This indicates that an
	// unrecoverable error occurred during a previous operation (Create,
	// Delete).
	PluginInstance_FAILED PluginInstance_State = 5
	// The plugin instance is being deleted. Delete is only possible if there is
	// no other operation running on the plugin instance and plugin instance
	// action.
	PluginInstance_DELETING PluginInstance_State = 6
)

func (PluginInstance_State) Descriptor added in v0.2.0

func (PluginInstance_State) Enum added in v0.2.0

func (PluginInstance_State) EnumDescriptor deprecated added in v0.2.0

func (PluginInstance_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use PluginInstance_State.Descriptor instead.

func (PluginInstance_State) Number added in v0.2.0

func (PluginInstance_State) String added in v0.2.0

func (x PluginInstance_State) String() string

func (PluginInstance_State) Type added in v0.2.0

type Plugin_ConfigTemplate added in v0.2.0

type Plugin_ConfigTemplate struct {

	// Optional. The authentication template for the plugin.
	AuthConfigTemplate *Plugin_ConfigTemplate_AuthConfigTemplate `protobuf:"bytes,1,opt,name=auth_config_template,json=authConfigTemplate,proto3" json:"auth_config_template,omitempty"`
	// Optional. The list of additional configuration variables for the plugin's
	// configuration.
	AdditionalConfigTemplate []*ConfigVariableTemplate `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

ConfigTemplate represents the configuration template for a plugin.

func (*Plugin_ConfigTemplate) Descriptor deprecated added in v0.2.0

func (*Plugin_ConfigTemplate) Descriptor() ([]byte, []int)

Deprecated: Use Plugin_ConfigTemplate.ProtoReflect.Descriptor instead.

func (*Plugin_ConfigTemplate) GetAdditionalConfigTemplate added in v0.2.0

func (x *Plugin_ConfigTemplate) GetAdditionalConfigTemplate() []*ConfigVariableTemplate

func (*Plugin_ConfigTemplate) GetAuthConfigTemplate added in v0.2.0

func (*Plugin_ConfigTemplate) ProtoMessage added in v0.2.0

func (*Plugin_ConfigTemplate) ProtoMessage()

func (*Plugin_ConfigTemplate) ProtoReflect added in v0.2.0

func (x *Plugin_ConfigTemplate) ProtoReflect() protoreflect.Message

func (*Plugin_ConfigTemplate) Reset added in v0.2.0

func (x *Plugin_ConfigTemplate) Reset()

func (*Plugin_ConfigTemplate) String added in v0.2.0

func (x *Plugin_ConfigTemplate) String() string

type Plugin_ConfigTemplate_AuthConfigTemplate added in v0.2.0

type Plugin_ConfigTemplate_AuthConfigTemplate struct {

	// Required. The list of authentication types supported by the plugin.
	SupportedAuthTypes []AuthType `` /* 162-byte string literal not displayed */
	// Optional. The service account of the plugin hosting service.
	// This service account should be granted the required permissions on the
	// Auth Config parameters provided while creating the plugin instances
	// corresponding to this plugin.
	//
	// For example, if the plugin instance auth config requires a secret
	// manager secret, the service account should be granted the
	// secretmanager.versions.access permission on the corresponding secret,
	// if the plugin instance auth config contains a service account, the
	// service account should be granted the
	// iam.serviceAccounts.getAccessToken permission on the corresponding
	// service account.
	ServiceAccount *GoogleServiceAccountConfig `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

AuthConfigTemplate represents the authentication template for a plugin.

func (*Plugin_ConfigTemplate_AuthConfigTemplate) Descriptor deprecated added in v0.2.0

func (*Plugin_ConfigTemplate_AuthConfigTemplate) Descriptor() ([]byte, []int)

Deprecated: Use Plugin_ConfigTemplate_AuthConfigTemplate.ProtoReflect.Descriptor instead.

func (*Plugin_ConfigTemplate_AuthConfigTemplate) GetServiceAccount added in v0.2.0

func (*Plugin_ConfigTemplate_AuthConfigTemplate) GetSupportedAuthTypes added in v0.2.0

func (x *Plugin_ConfigTemplate_AuthConfigTemplate) GetSupportedAuthTypes() []AuthType

func (*Plugin_ConfigTemplate_AuthConfigTemplate) ProtoMessage added in v0.2.0

func (*Plugin_ConfigTemplate_AuthConfigTemplate) ProtoReflect added in v0.2.0

func (*Plugin_ConfigTemplate_AuthConfigTemplate) Reset added in v0.2.0

func (*Plugin_ConfigTemplate_AuthConfigTemplate) String added in v0.2.0

type Plugin_HostingService added in v0.2.0

type Plugin_HostingService struct {

	// Optional. The URI of the service implemented by the plugin developer,
	// used to invoke the plugin's functionality. This information is only
	// required for user defined plugins.
	ServiceUri string `protobuf:"bytes,1,opt,name=service_uri,json=serviceUri,proto3" json:"service_uri,omitempty"`
	// contains filtered or unexported fields
}

The information related to the service implemented by the plugin developer, used to invoke the plugin's functionality.

func (*Plugin_HostingService) Descriptor deprecated added in v0.2.0

func (*Plugin_HostingService) Descriptor() ([]byte, []int)

Deprecated: Use Plugin_HostingService.ProtoReflect.Descriptor instead.

func (*Plugin_HostingService) GetServiceUri added in v0.2.0

func (x *Plugin_HostingService) GetServiceUri() string

func (*Plugin_HostingService) ProtoMessage added in v0.2.0

func (*Plugin_HostingService) ProtoMessage()

func (*Plugin_HostingService) ProtoReflect added in v0.2.0

func (x *Plugin_HostingService) ProtoReflect() protoreflect.Message

func (*Plugin_HostingService) Reset added in v0.2.0

func (x *Plugin_HostingService) Reset()

func (*Plugin_HostingService) String added in v0.2.0

func (x *Plugin_HostingService) String() string

type Plugin_OwnershipType added in v0.2.0

type Plugin_OwnershipType int32

Ownership type of the plugin.

const (
	// Default unspecified type.
	Plugin_OWNERSHIP_TYPE_UNSPECIFIED Plugin_OwnershipType = 0
	// System owned plugins are defined by API hub and are available out of the
	// box in API hub.
	Plugin_SYSTEM_OWNED Plugin_OwnershipType = 1
	// User owned plugins are defined by the user and need to be explicitly
	// added to API hub via
	// [CreatePlugin][google.cloud.apihub.v1.ApiHubPlugin.CreatePlugin] method.
	Plugin_USER_OWNED Plugin_OwnershipType = 2
)

func (Plugin_OwnershipType) Descriptor added in v0.2.0

func (Plugin_OwnershipType) Enum added in v0.2.0

func (Plugin_OwnershipType) EnumDescriptor deprecated added in v0.2.0

func (Plugin_OwnershipType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Plugin_OwnershipType.Descriptor instead.

func (Plugin_OwnershipType) Number added in v0.2.0

func (Plugin_OwnershipType) String added in v0.2.0

func (x Plugin_OwnershipType) String() string

func (Plugin_OwnershipType) Type added in v0.2.0

type Plugin_State

type Plugin_State int32

Possible states a plugin can have. Note that this enum may receive new values in the future. Consumers are advised to always code against the enum values expecting new states can be added later on.

const (
	// The default value. This value is used if the state is omitted.
	Plugin_STATE_UNSPECIFIED Plugin_State = 0
	// The plugin is enabled.
	Plugin_ENABLED Plugin_State = 1
	// The plugin is disabled.
	Plugin_DISABLED Plugin_State = 2
)

func (Plugin_State) Descriptor

func (Plugin_State) Enum

func (x Plugin_State) Enum() *Plugin_State

func (Plugin_State) EnumDescriptor deprecated

func (Plugin_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Plugin_State.Descriptor instead.

func (Plugin_State) Number

func (Plugin_State) String

func (x Plugin_State) String() string

func (Plugin_State) Type

type Point

type Point struct {

	// Required. Line number (zero-indexed).
	Line int32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
	// Required. Character position within the line (zero-indexed).
	Character int32 `protobuf:"varint,2,opt,name=character,proto3" json:"character,omitempty"`
	// contains filtered or unexported fields
}

Point within the file (line and character).

func (*Point) Descriptor deprecated

func (*Point) Descriptor() ([]byte, []int)

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetCharacter

func (x *Point) GetCharacter() int32

func (*Point) GetLine

func (x *Point) GetLine() int32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

type ProvisioningClient

type ProvisioningClient interface {
	// Provisions instance resources for the API Hub.
	CreateApiHubInstance(ctx context.Context, in *CreateApiHubInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes the API hub instance.
	DeleteApiHubInstance(ctx context.Context, in *DeleteApiHubInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details of a single API Hub instance.
	GetApiHubInstance(ctx context.Context, in *GetApiHubInstanceRequest, opts ...grpc.CallOption) (*ApiHubInstance, error)
	// Looks up an Api Hub instance in a given GCP project. There will always be
	// only one Api Hub instance for a GCP project across all locations.
	LookupApiHubInstance(ctx context.Context, in *LookupApiHubInstanceRequest, opts ...grpc.CallOption) (*LookupApiHubInstanceResponse, error)
}

ProvisioningClient is the client API for Provisioning 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.

type ProvisioningServer

type ProvisioningServer interface {
	// Provisions instance resources for the API Hub.
	CreateApiHubInstance(context.Context, *CreateApiHubInstanceRequest) (*longrunningpb.Operation, error)
	// Deletes the API hub instance.
	DeleteApiHubInstance(context.Context, *DeleteApiHubInstanceRequest) (*longrunningpb.Operation, error)
	// Gets details of a single API Hub instance.
	GetApiHubInstance(context.Context, *GetApiHubInstanceRequest) (*ApiHubInstance, error)
	// Looks up an Api Hub instance in a given GCP project. There will always be
	// only one Api Hub instance for a GCP project across all locations.
	LookupApiHubInstance(context.Context, *LookupApiHubInstanceRequest) (*LookupApiHubInstanceResponse, error)
}

ProvisioningServer is the server API for Provisioning service. All implementations should embed UnimplementedProvisioningServer for forward compatibility

type Range

type Range struct {

	// Required. Start of the issue.
	Start *Point `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	// Required. End of the issue.
	End *Point `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

Object describing where in the file the issue was found.

func (*Range) Descriptor deprecated

func (*Range) Descriptor() ([]byte, []int)

Deprecated: Use Range.ProtoReflect.Descriptor instead.

func (*Range) GetEnd

func (x *Range) GetEnd() *Point

func (*Range) GetStart

func (x *Range) GetStart() *Point

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) ProtoReflect

func (x *Range) ProtoReflect() protoreflect.Message

func (*Range) Reset

func (x *Range) Reset()

func (*Range) String

func (x *Range) String() string

type RuntimeProjectAttachment

type RuntimeProjectAttachment struct {

	// Identifier. The resource name of a runtime project attachment. Format:
	// "projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. Google cloud project name in the format:
	// "projects/abc" or "projects/123". As input, project name with either
	// project id or number are accepted. As output, this field will contain
	// project number.
	RuntimeProject string `protobuf:"bytes,2,opt,name=runtime_project,json=runtimeProject,proto3" json:"runtime_project,omitempty"`
	// Output only. Create time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments.

func (*RuntimeProjectAttachment) Descriptor deprecated

func (*RuntimeProjectAttachment) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeProjectAttachment.ProtoReflect.Descriptor instead.

func (*RuntimeProjectAttachment) GetCreateTime

func (x *RuntimeProjectAttachment) GetCreateTime() *timestamppb.Timestamp

func (*RuntimeProjectAttachment) GetName

func (x *RuntimeProjectAttachment) GetName() string

func (*RuntimeProjectAttachment) GetRuntimeProject

func (x *RuntimeProjectAttachment) GetRuntimeProject() string

func (*RuntimeProjectAttachment) ProtoMessage

func (*RuntimeProjectAttachment) ProtoMessage()

func (*RuntimeProjectAttachment) ProtoReflect

func (x *RuntimeProjectAttachment) ProtoReflect() protoreflect.Message

func (*RuntimeProjectAttachment) Reset

func (x *RuntimeProjectAttachment) Reset()

func (*RuntimeProjectAttachment) String

func (x *RuntimeProjectAttachment) String() string

type RuntimeProjectAttachmentServiceClient

type RuntimeProjectAttachmentServiceClient interface {
	// Attaches a runtime project to the host project.
	CreateRuntimeProjectAttachment(ctx context.Context, in *CreateRuntimeProjectAttachmentRequest, opts ...grpc.CallOption) (*RuntimeProjectAttachment, error)
	// Gets a runtime project attachment.
	GetRuntimeProjectAttachment(ctx context.Context, in *GetRuntimeProjectAttachmentRequest, opts ...grpc.CallOption) (*RuntimeProjectAttachment, error)
	// List runtime projects attached to the host project.
	ListRuntimeProjectAttachments(ctx context.Context, in *ListRuntimeProjectAttachmentsRequest, opts ...grpc.CallOption) (*ListRuntimeProjectAttachmentsResponse, error)
	// Delete a runtime project attachment in the API Hub. This call will detach
	// the runtime project from the host project.
	DeleteRuntimeProjectAttachment(ctx context.Context, in *DeleteRuntimeProjectAttachmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Look up a runtime project attachment. This API can be called in the context
	// of any project.
	LookupRuntimeProjectAttachment(ctx context.Context, in *LookupRuntimeProjectAttachmentRequest, opts ...grpc.CallOption) (*LookupRuntimeProjectAttachmentResponse, error)
}

RuntimeProjectAttachmentServiceClient is the client API for RuntimeProjectAttachmentService 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.

type RuntimeProjectAttachmentServiceServer

type RuntimeProjectAttachmentServiceServer interface {
	// Attaches a runtime project to the host project.
	CreateRuntimeProjectAttachment(context.Context, *CreateRuntimeProjectAttachmentRequest) (*RuntimeProjectAttachment, error)
	// Gets a runtime project attachment.
	GetRuntimeProjectAttachment(context.Context, *GetRuntimeProjectAttachmentRequest) (*RuntimeProjectAttachment, error)
	// List runtime projects attached to the host project.
	ListRuntimeProjectAttachments(context.Context, *ListRuntimeProjectAttachmentsRequest) (*ListRuntimeProjectAttachmentsResponse, error)
	// Delete a runtime project attachment in the API Hub. This call will detach
	// the runtime project from the host project.
	DeleteRuntimeProjectAttachment(context.Context, *DeleteRuntimeProjectAttachmentRequest) (*emptypb.Empty, error)
	// Look up a runtime project attachment. This API can be called in the context
	// of any project.
	LookupRuntimeProjectAttachment(context.Context, *LookupRuntimeProjectAttachmentRequest) (*LookupRuntimeProjectAttachmentResponse, error)
}

RuntimeProjectAttachmentServiceServer is the server API for RuntimeProjectAttachmentService service. All implementations should embed UnimplementedRuntimeProjectAttachmentServiceServer for forward compatibility

type Schema

type Schema struct {

	// Output only. The display name of the schema.
	// This will map to the name of the schema in the spec.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. The raw value of the schema definition corresponding to the
	// schema name in the spec.
	RawValue []byte `protobuf:"bytes,2,opt,name=raw_value,json=rawValue,proto3" json:"raw_value,omitempty"`
	// contains filtered or unexported fields
}

The schema details derived from the spec. Currently, this entity is supported for OpenAPI spec only. For OpenAPI spec, this maps to the schema defined in the `definitions` section for OpenAPI 2.0 version and in `components.schemas` section for OpenAPI 3.0 and 3.1 version.

func (*Schema) Descriptor deprecated

func (*Schema) Descriptor() ([]byte, []int)

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetDisplayName

func (x *Schema) GetDisplayName() string

func (*Schema) GetRawValue

func (x *Schema) GetRawValue() []byte

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect

func (x *Schema) ProtoReflect() protoreflect.Message

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) String

func (x *Schema) String() string

type SearchResourcesRequest

type SearchResourcesRequest struct {

	// Required. The resource name of the location which will be of the type
	// `projects/{project_id}/locations/{location_id}`. This field is used to
	// identify the instance of API-Hub in which resources should be searched.
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// Required. The free text search query. This query can contain keywords which
	// could be related to any detail of the API-Hub resources such display names,
	// descriptions, attributes etc.
	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// Optional. An expression that filters the list of search results.
	//
	// A filter expression consists of a field name, a comparison operator,
	// and a value for filtering. The value must be a string, a number, or a
	// boolean. The comparison operator must be `=`. Filters are not case
	// sensitive.
	//
	// The following field names are eligible for filtering:
	//   - `resource_type` - The type of resource in the search results.
	//     Must be one of the following: `Api`, `ApiOperation`, `Deployment`,
	//     `Definition`, `Spec` or `Version`. This field can only be specified once
	//     in the filter.
	//
	// Here are is an example:
	//
	//   - `resource_type = Api` - The resource_type is _Api_.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of search results to return. The service may
	// return fewer than this value. If unspecified at most 10 search results will
	// be returned. If value is negative then `INVALID_ARGUMENT` error is
	// returned. The maximum value is 25; values above 25 will be coerced to 25.
	// While paginating, you can specify a new page size parameter for each page
	// of search results to be listed.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// [SearchResources][SearchResources]
	// call. Specify this parameter to retrieve the next page of transactions.
	//
	// When paginating, you must specify the `page_token` parameter and all the
	// other parameters except
	// [page_size][google.cloud.apihub.v1.SearchResourcesRequest.page_size]
	// should be specified with the same value which was used in the previous
	// call. If the other fields are set with a different value than the previous
	// call then `INVALID_ARGUMENT` error is returned.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The [SearchResources][google.cloud.apihub.v1.ApiHub.SearchResources] method's request.

func (*SearchResourcesRequest) Descriptor deprecated

func (*SearchResourcesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchResourcesRequest.ProtoReflect.Descriptor instead.

func (*SearchResourcesRequest) GetFilter

func (x *SearchResourcesRequest) GetFilter() string

func (*SearchResourcesRequest) GetLocation

func (x *SearchResourcesRequest) GetLocation() string

func (*SearchResourcesRequest) GetPageSize

func (x *SearchResourcesRequest) GetPageSize() int32

func (*SearchResourcesRequest) GetPageToken

func (x *SearchResourcesRequest) GetPageToken() string

func (*SearchResourcesRequest) GetQuery

func (x *SearchResourcesRequest) GetQuery() string

func (*SearchResourcesRequest) ProtoMessage

func (*SearchResourcesRequest) ProtoMessage()

func (*SearchResourcesRequest) ProtoReflect

func (x *SearchResourcesRequest) ProtoReflect() protoreflect.Message

func (*SearchResourcesRequest) Reset

func (x *SearchResourcesRequest) Reset()

func (*SearchResourcesRequest) String

func (x *SearchResourcesRequest) String() string

type SearchResourcesResponse

type SearchResourcesResponse struct {

	// List of search results according to the filter and search query specified.
	// The order of search results represents the ranking.
	SearchResults []*SearchResult `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"`
	// Pass this token in the
	// [SearchResourcesRequest][google.cloud.apihub.v1.SearchResourcesRequest]
	// to continue to list results. If all results have been returned, this field
	// is an empty string or not present in the response.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response for the [SearchResources][google.cloud.apihub.v1.ApiHub.SearchResources] method.

func (*SearchResourcesResponse) Descriptor deprecated

func (*SearchResourcesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResourcesResponse.ProtoReflect.Descriptor instead.

func (*SearchResourcesResponse) GetNextPageToken

func (x *SearchResourcesResponse) GetNextPageToken() string

func (*SearchResourcesResponse) GetSearchResults

func (x *SearchResourcesResponse) GetSearchResults() []*SearchResult

func (*SearchResourcesResponse) ProtoMessage

func (*SearchResourcesResponse) ProtoMessage()

func (*SearchResourcesResponse) ProtoReflect

func (x *SearchResourcesResponse) ProtoReflect() protoreflect.Message

func (*SearchResourcesResponse) Reset

func (x *SearchResourcesResponse) Reset()

func (*SearchResourcesResponse) String

func (x *SearchResourcesResponse) String() string

type SearchResult

type SearchResult struct {

	// This represents the ApiHubResource.
	// Note: Only selected fields of the resources are populated in response.
	Resource *ApiHubResource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

Represents the search results.

func (*SearchResult) Descriptor deprecated

func (*SearchResult) Descriptor() ([]byte, []int)

Deprecated: Use SearchResult.ProtoReflect.Descriptor instead.

func (*SearchResult) GetResource

func (x *SearchResult) GetResource() *ApiHubResource

func (*SearchResult) ProtoMessage

func (*SearchResult) ProtoMessage()

func (*SearchResult) ProtoReflect

func (x *SearchResult) ProtoReflect() protoreflect.Message

func (*SearchResult) Reset

func (x *SearchResult) Reset()

func (*SearchResult) String

func (x *SearchResult) String() string

type Secret added in v0.2.0

type Secret struct {

	// Required. The resource name of the secret version in the format,
	// format as: `projects/*/secrets/*/versions/*`.
	SecretVersion string `protobuf:"bytes,1,opt,name=secret_version,json=secretVersion,proto3" json:"secret_version,omitempty"`
	// contains filtered or unexported fields
}

Secret provides a reference to entries in Secret Manager.

func (*Secret) Descriptor deprecated added in v0.2.0

func (*Secret) Descriptor() ([]byte, []int)

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetSecretVersion added in v0.2.0

func (x *Secret) GetSecretVersion() string

func (*Secret) ProtoMessage added in v0.2.0

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect added in v0.2.0

func (x *Secret) ProtoReflect() protoreflect.Message

func (*Secret) Reset added in v0.2.0

func (x *Secret) Reset()

func (*Secret) String added in v0.2.0

func (x *Secret) String() string

type Severity

type Severity int32

Severity of the issue.

const (
	// Severity unspecified.
	Severity_SEVERITY_UNSPECIFIED Severity = 0
	// Severity error.
	Severity_SEVERITY_ERROR Severity = 1
	// Severity warning.
	Severity_SEVERITY_WARNING Severity = 2
	// Severity info.
	Severity_SEVERITY_INFO Severity = 3
	// Severity hint.
	Severity_SEVERITY_HINT Severity = 4
)

func (Severity) Descriptor

func (Severity) Descriptor() protoreflect.EnumDescriptor

func (Severity) Enum

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor deprecated

func (Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String

func (x Severity) String() string

func (Severity) Type

type SourceMetadata added in v0.2.0

type SourceMetadata struct {

	// The source of the resource.
	//
	// Types that are assignable to Source:
	//
	//	*SourceMetadata_PluginInstanceActionSource_
	Source isSourceMetadata_Source `protobuf_oneof:"source"`
	// Output only. The type of the source.
	SourceType SourceMetadata_SourceType `` /* 146-byte string literal not displayed */
	// Output only. The unique identifier of the resource at the source.
	OriginalResourceId string `protobuf:"bytes,3,opt,name=original_resource_id,json=originalResourceId,proto3" json:"original_resource_id,omitempty"`
	// Output only. The time at which the resource was created at the source.
	OriginalResourceCreateTime *timestamppb.Timestamp `` /* 143-byte string literal not displayed */
	// Output only. The time at which the resource was last updated at the source.
	OriginalResourceUpdateTime *timestamppb.Timestamp `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

SourceMetadata represents the metadata for a resource at the source.

func (*SourceMetadata) Descriptor deprecated added in v0.2.0

func (*SourceMetadata) Descriptor() ([]byte, []int)

Deprecated: Use SourceMetadata.ProtoReflect.Descriptor instead.

func (*SourceMetadata) GetOriginalResourceCreateTime added in v0.2.0

func (x *SourceMetadata) GetOriginalResourceCreateTime() *timestamppb.Timestamp

func (*SourceMetadata) GetOriginalResourceId added in v0.2.0

func (x *SourceMetadata) GetOriginalResourceId() string

func (*SourceMetadata) GetOriginalResourceUpdateTime added in v0.2.0

func (x *SourceMetadata) GetOriginalResourceUpdateTime() *timestamppb.Timestamp

func (*SourceMetadata) GetPluginInstanceActionSource added in v0.2.0

func (x *SourceMetadata) GetPluginInstanceActionSource() *SourceMetadata_PluginInstanceActionSource

func (*SourceMetadata) GetSource added in v0.2.0

func (m *SourceMetadata) GetSource() isSourceMetadata_Source

func (*SourceMetadata) GetSourceType added in v0.2.0

func (x *SourceMetadata) GetSourceType() SourceMetadata_SourceType

func (*SourceMetadata) ProtoMessage added in v0.2.0

func (*SourceMetadata) ProtoMessage()

func (*SourceMetadata) ProtoReflect added in v0.2.0

func (x *SourceMetadata) ProtoReflect() protoreflect.Message

func (*SourceMetadata) Reset added in v0.2.0

func (x *SourceMetadata) Reset()

func (*SourceMetadata) String added in v0.2.0

func (x *SourceMetadata) String() string

type SourceMetadata_PluginInstanceActionSource added in v0.2.0

type SourceMetadata_PluginInstanceActionSource struct {

	// Output only. The resource name of the source plugin instance.
	// Format is
	// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
	PluginInstance string `protobuf:"bytes,1,opt,name=plugin_instance,json=pluginInstance,proto3" json:"plugin_instance,omitempty"`
	// Output only. The id of the plugin instance action.
	ActionId string `protobuf:"bytes,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// contains filtered or unexported fields
}

PluginInstanceActionSource represents the plugin instance action source.

func (*SourceMetadata_PluginInstanceActionSource) Descriptor deprecated added in v0.2.0

func (*SourceMetadata_PluginInstanceActionSource) Descriptor() ([]byte, []int)

Deprecated: Use SourceMetadata_PluginInstanceActionSource.ProtoReflect.Descriptor instead.

func (*SourceMetadata_PluginInstanceActionSource) GetActionId added in v0.2.0

func (*SourceMetadata_PluginInstanceActionSource) GetPluginInstance added in v0.2.0

func (x *SourceMetadata_PluginInstanceActionSource) GetPluginInstance() string

func (*SourceMetadata_PluginInstanceActionSource) ProtoMessage added in v0.2.0

func (*SourceMetadata_PluginInstanceActionSource) ProtoReflect added in v0.2.0

func (*SourceMetadata_PluginInstanceActionSource) Reset added in v0.2.0

func (*SourceMetadata_PluginInstanceActionSource) String added in v0.2.0

type SourceMetadata_PluginInstanceActionSource_ added in v0.2.0

type SourceMetadata_PluginInstanceActionSource_ struct {
	// Output only. The source of the resource is a plugin instance action.
	PluginInstanceActionSource *SourceMetadata_PluginInstanceActionSource `protobuf:"bytes,1,opt,name=plugin_instance_action_source,json=pluginInstanceActionSource,proto3,oneof"`
}

type SourceMetadata_SourceType added in v0.2.0

type SourceMetadata_SourceType int32

The possible types of the source.

const (
	// Source type not specified.
	SourceMetadata_SOURCE_TYPE_UNSPECIFIED SourceMetadata_SourceType = 0
	// Source type plugin.
	SourceMetadata_PLUGIN SourceMetadata_SourceType = 1
)

func (SourceMetadata_SourceType) Descriptor added in v0.2.0

func (SourceMetadata_SourceType) Enum added in v0.2.0

func (SourceMetadata_SourceType) EnumDescriptor deprecated added in v0.2.0

func (SourceMetadata_SourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SourceMetadata_SourceType.Descriptor instead.

func (SourceMetadata_SourceType) Number added in v0.2.0

func (SourceMetadata_SourceType) String added in v0.2.0

func (x SourceMetadata_SourceType) String() string

func (SourceMetadata_SourceType) Type added in v0.2.0

type Spec

type Spec struct {

	// Identifier. The name of the spec.
	//
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the spec.
	// This can contain the file name of the spec.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The type of spec.
	// The value should be one of the allowed values defined for
	// `projects/{project}/locations/{location}/attributes/system-spec-type`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API.
	//
	// Note, this field is mandatory if content is provided.
	SpecType *AttributeValues `protobuf:"bytes,3,opt,name=spec_type,json=specType,proto3" json:"spec_type,omitempty"`
	// Optional. Input only. The contents of the uploaded spec.
	Contents *SpecContents `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`
	// Output only. Details parsed from the spec.
	Details *SpecDetails `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	// Optional. The URI of the spec source in case file is uploaded
	// from an external version control system.
	SourceUri string `protobuf:"bytes,6,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"`
	// Output only. The time at which the spec was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the spec was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The lint response for the spec.
	LintResponse *LintResponse `protobuf:"bytes,9,opt,name=lint_response,json=lintResponse,proto3" json:"lint_response,omitempty"`
	// Optional. The list of user defined attributes associated with the spec.
	// The key is the attribute name. It will be of the format:
	// `projects/{project}/locations/{location}/attributes/{attribute}`.
	// The value is the attribute values associated with the resource.
	Attributes map[string]*AttributeValues `` /* 162-byte string literal not displayed */
	// Optional. The documentation of the spec.
	// For OpenAPI spec, this will be populated from `externalDocs` in OpenAPI
	// spec.
	Documentation *Documentation `protobuf:"bytes,11,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Optional. Input only. Enum specifying the parsing mode for OpenAPI
	// Specification (OAS) parsing.
	ParsingMode Spec_ParsingMode `` /* 141-byte string literal not displayed */
	// Output only. The list of sources and metadata from the sources of the spec.
	SourceMetadata []*SourceMetadata `protobuf:"bytes,13,rep,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// contains filtered or unexported fields
}

Represents a spec associated with an API version in the API Hub. Note that specs of various types can be uploaded, however parsing of details is supported for OpenAPI spec currently.

func (*Spec) Descriptor deprecated

func (*Spec) Descriptor() ([]byte, []int)

Deprecated: Use Spec.ProtoReflect.Descriptor instead.

func (*Spec) GetAttributes

func (x *Spec) GetAttributes() map[string]*AttributeValues

func (*Spec) GetContents

func (x *Spec) GetContents() *SpecContents

func (*Spec) GetCreateTime

func (x *Spec) GetCreateTime() *timestamppb.Timestamp

func (*Spec) GetDetails

func (x *Spec) GetDetails() *SpecDetails

func (*Spec) GetDisplayName

func (x *Spec) GetDisplayName() string

func (*Spec) GetDocumentation

func (x *Spec) GetDocumentation() *Documentation

func (*Spec) GetLintResponse

func (x *Spec) GetLintResponse() *LintResponse

func (*Spec) GetName

func (x *Spec) GetName() string

func (*Spec) GetParsingMode

func (x *Spec) GetParsingMode() Spec_ParsingMode

func (*Spec) GetSourceMetadata added in v0.2.0

func (x *Spec) GetSourceMetadata() []*SourceMetadata

func (*Spec) GetSourceUri

func (x *Spec) GetSourceUri() string

func (*Spec) GetSpecType

func (x *Spec) GetSpecType() *AttributeValues

func (*Spec) GetUpdateTime

func (x *Spec) GetUpdateTime() *timestamppb.Timestamp

func (*Spec) ProtoMessage

func (*Spec) ProtoMessage()

func (*Spec) ProtoReflect

func (x *Spec) ProtoReflect() protoreflect.Message

func (*Spec) Reset

func (x *Spec) Reset()

func (*Spec) String

func (x *Spec) String() string

type SpecContents

type SpecContents struct {

	// Required. The contents of the spec.
	Contents []byte `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	// Required. The mime type of the content for example application/json,
	// application/yaml, application/wsdl etc.
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// contains filtered or unexported fields
}

The spec contents.

func (*SpecContents) Descriptor deprecated

func (*SpecContents) Descriptor() ([]byte, []int)

Deprecated: Use SpecContents.ProtoReflect.Descriptor instead.

func (*SpecContents) GetContents

func (x *SpecContents) GetContents() []byte

func (*SpecContents) GetMimeType

func (x *SpecContents) GetMimeType() string

func (*SpecContents) ProtoMessage

func (*SpecContents) ProtoMessage()

func (*SpecContents) ProtoReflect

func (x *SpecContents) ProtoReflect() protoreflect.Message

func (*SpecContents) Reset

func (x *SpecContents) Reset()

func (*SpecContents) String

func (x *SpecContents) String() string

type SpecDetails

type SpecDetails struct {

	// Types that are assignable to Details:
	//
	//	*SpecDetails_OpenApiSpecDetails
	Details isSpecDetails_Details `protobuf_oneof:"details"`
	// Output only. The description of the spec.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

SpecDetails contains the details parsed from supported spec types.

func (*SpecDetails) Descriptor deprecated

func (*SpecDetails) Descriptor() ([]byte, []int)

Deprecated: Use SpecDetails.ProtoReflect.Descriptor instead.

func (*SpecDetails) GetDescription

func (x *SpecDetails) GetDescription() string

func (*SpecDetails) GetDetails

func (m *SpecDetails) GetDetails() isSpecDetails_Details

func (*SpecDetails) GetOpenApiSpecDetails

func (x *SpecDetails) GetOpenApiSpecDetails() *OpenApiSpecDetails

func (*SpecDetails) ProtoMessage

func (*SpecDetails) ProtoMessage()

func (*SpecDetails) ProtoReflect

func (x *SpecDetails) ProtoReflect() protoreflect.Message

func (*SpecDetails) Reset

func (x *SpecDetails) Reset()

func (*SpecDetails) String

func (x *SpecDetails) String() string

type SpecDetails_OpenApiSpecDetails

type SpecDetails_OpenApiSpecDetails struct {
	// Output only. Additional details apart from `OperationDetails` parsed from
	// an OpenAPI spec. The OperationDetails parsed from the spec can be
	// obtained by using
	// [ListAPIOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations]
	// method.
	OpenApiSpecDetails *OpenApiSpecDetails `protobuf:"bytes,2,opt,name=open_api_spec_details,json=openApiSpecDetails,proto3,oneof"`
}

type SpecMetadata added in v0.2.0

type SpecMetadata struct {

	// Required. The spec resource to be pushed to Hub's collect layer. The ID of
	// the spec will be generated by Hub.
	Spec *Spec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	// Optional. The unique identifier of the spec in the system where it was
	// originally created.
	OriginalId string `protobuf:"bytes,2,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
	// Optional. Timestamp indicating when the spec was created at the source.
	OriginalCreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=original_create_time,json=originalCreateTime,proto3" json:"original_create_time,omitempty"`
	// Required. Timestamp indicating when the spec was last updated at the
	// source.
	OriginalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=original_update_time,json=originalUpdateTime,proto3" json:"original_update_time,omitempty"`
	// contains filtered or unexported fields
}

The metadata associated with a spec of the API version.

func (*SpecMetadata) Descriptor deprecated added in v0.2.0

func (*SpecMetadata) Descriptor() ([]byte, []int)

Deprecated: Use SpecMetadata.ProtoReflect.Descriptor instead.

func (*SpecMetadata) GetOriginalCreateTime added in v0.2.0

func (x *SpecMetadata) GetOriginalCreateTime() *timestamppb.Timestamp

func (*SpecMetadata) GetOriginalId added in v0.2.0

func (x *SpecMetadata) GetOriginalId() string

func (*SpecMetadata) GetOriginalUpdateTime added in v0.2.0

func (x *SpecMetadata) GetOriginalUpdateTime() *timestamppb.Timestamp

func (*SpecMetadata) GetSpec added in v0.2.0

func (x *SpecMetadata) GetSpec() *Spec

func (*SpecMetadata) ProtoMessage added in v0.2.0

func (*SpecMetadata) ProtoMessage()

func (*SpecMetadata) ProtoReflect added in v0.2.0

func (x *SpecMetadata) ProtoReflect() protoreflect.Message

func (*SpecMetadata) Reset added in v0.2.0

func (x *SpecMetadata) Reset()

func (*SpecMetadata) String added in v0.2.0

func (x *SpecMetadata) String() string

type Spec_ParsingMode

type Spec_ParsingMode int32

Specifies the parsing mode for API specifications during creation and update. - `RELAXED`: Parsing errors in the specification content do not fail the API call. - `STRICT`: Parsing errors in the specification content result in failure of the API call. If not specified, defaults to `RELAXED`.

const (
	// Defaults to `RELAXED`.
	Spec_PARSING_MODE_UNSPECIFIED Spec_ParsingMode = 0
	// Parsing of the Spec on create and update is relaxed, meaning that
	// parsing errors the spec contents will not fail the API call.
	Spec_RELAXED Spec_ParsingMode = 1
	// Parsing of the Spec on create and update is strict, meaning that
	// parsing errors in the spec contents will fail the API call.
	Spec_STRICT Spec_ParsingMode = 2
)

func (Spec_ParsingMode) Descriptor

func (Spec_ParsingMode) Enum

func (Spec_ParsingMode) EnumDescriptor deprecated

func (Spec_ParsingMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Spec_ParsingMode.Descriptor instead.

func (Spec_ParsingMode) Number

func (Spec_ParsingMode) String

func (x Spec_ParsingMode) String() string

func (Spec_ParsingMode) Type

type StyleGuide

type StyleGuide struct {

	// Identifier. The name of the style guide.
	//
	// Format:
	// `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Target linter for the style guide.
	Linter Linter `protobuf:"varint,2,opt,name=linter,proto3,enum=google.cloud.apihub.v1.Linter" json:"linter,omitempty"`
	// Required. Input only. The contents of the uploaded style guide.
	Contents *StyleGuideContents `protobuf:"bytes,3,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

Represents a singleton style guide resource to be used for linting Open API specs.

func (*StyleGuide) Descriptor deprecated

func (*StyleGuide) Descriptor() ([]byte, []int)

Deprecated: Use StyleGuide.ProtoReflect.Descriptor instead.

func (*StyleGuide) GetContents

func (x *StyleGuide) GetContents() *StyleGuideContents

func (*StyleGuide) GetLinter

func (x *StyleGuide) GetLinter() Linter

func (*StyleGuide) GetName

func (x *StyleGuide) GetName() string

func (*StyleGuide) ProtoMessage

func (*StyleGuide) ProtoMessage()

func (*StyleGuide) ProtoReflect

func (x *StyleGuide) ProtoReflect() protoreflect.Message

func (*StyleGuide) Reset

func (x *StyleGuide) Reset()

func (*StyleGuide) String

func (x *StyleGuide) String() string

type StyleGuideContents

type StyleGuideContents struct {

	// Required. The contents of the style guide.
	Contents []byte `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	// Required. The mime type of the content.
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// contains filtered or unexported fields
}

The style guide contents.

func (*StyleGuideContents) Descriptor deprecated

func (*StyleGuideContents) Descriptor() ([]byte, []int)

Deprecated: Use StyleGuideContents.ProtoReflect.Descriptor instead.

func (*StyleGuideContents) GetContents

func (x *StyleGuideContents) GetContents() []byte

func (*StyleGuideContents) GetMimeType

func (x *StyleGuideContents) GetMimeType() string

func (*StyleGuideContents) ProtoMessage

func (*StyleGuideContents) ProtoMessage()

func (*StyleGuideContents) ProtoReflect

func (x *StyleGuideContents) ProtoReflect() protoreflect.Message

func (*StyleGuideContents) Reset

func (x *StyleGuideContents) Reset()

func (*StyleGuideContents) String

func (x *StyleGuideContents) String() string

type UnimplementedApiHubCollectServer added in v0.2.0

type UnimplementedApiHubCollectServer struct {
}

UnimplementedApiHubCollectServer should be embedded to have forward compatible implementations.

func (UnimplementedApiHubCollectServer) CollectApiData added in v0.2.0

type UnimplementedApiHubCurateServer added in v0.2.0

type UnimplementedApiHubCurateServer struct {
}

UnimplementedApiHubCurateServer should be embedded to have forward compatible implementations.

func (UnimplementedApiHubCurateServer) CreateCuration added in v0.2.0

func (UnimplementedApiHubCurateServer) DeleteCuration added in v0.2.0

func (UnimplementedApiHubCurateServer) GetCuration added in v0.2.0

func (UnimplementedApiHubCurateServer) ListCurations added in v0.2.0

func (UnimplementedApiHubCurateServer) UpdateCuration added in v0.2.0

type UnimplementedApiHubDependenciesServer

type UnimplementedApiHubDependenciesServer struct {
}

UnimplementedApiHubDependenciesServer should be embedded to have forward compatible implementations.

func (UnimplementedApiHubDependenciesServer) CreateDependency

func (UnimplementedApiHubDependenciesServer) DeleteDependency

func (UnimplementedApiHubDependenciesServer) GetDependency

func (UnimplementedApiHubDependenciesServer) ListDependencies

func (UnimplementedApiHubDependenciesServer) UpdateDependency

type UnimplementedApiHubDiscoveryServer added in v0.2.0

type UnimplementedApiHubDiscoveryServer struct {
}

UnimplementedApiHubDiscoveryServer should be embedded to have forward compatible implementations.

func (UnimplementedApiHubDiscoveryServer) GetDiscoveredApiObservation added in v0.2.0

func (UnimplementedApiHubDiscoveryServer) GetDiscoveredApiOperation added in v0.2.0

func (UnimplementedApiHubDiscoveryServer) ListDiscoveredApiObservations added in v0.2.0

func (UnimplementedApiHubDiscoveryServer) ListDiscoveredApiOperations added in v0.2.0

type UnimplementedApiHubPluginServer

type UnimplementedApiHubPluginServer struct {
}

UnimplementedApiHubPluginServer should be embedded to have forward compatible implementations.

func (UnimplementedApiHubPluginServer) CreatePlugin added in v0.2.0

func (UnimplementedApiHubPluginServer) CreatePluginInstance added in v0.2.0

func (UnimplementedApiHubPluginServer) DeletePlugin added in v0.2.0

func (UnimplementedApiHubPluginServer) DeletePluginInstance added in v0.2.0

func (UnimplementedApiHubPluginServer) DisablePlugin

func (UnimplementedApiHubPluginServer) DisablePluginInstanceAction added in v0.2.0

func (UnimplementedApiHubPluginServer) EnablePlugin

func (UnimplementedApiHubPluginServer) EnablePluginInstanceAction added in v0.2.0

func (UnimplementedApiHubPluginServer) ExecutePluginInstanceAction added in v0.2.0

func (UnimplementedApiHubPluginServer) GetPlugin

func (UnimplementedApiHubPluginServer) GetPluginInstance added in v0.2.0

func (UnimplementedApiHubPluginServer) ListPluginInstances added in v0.2.0

func (UnimplementedApiHubPluginServer) ListPlugins added in v0.2.0

func (UnimplementedApiHubPluginServer) UpdatePluginInstance added in v0.2.0

type UnimplementedApiHubServer

type UnimplementedApiHubServer struct {
}

UnimplementedApiHubServer should be embedded to have forward compatible implementations.

func (UnimplementedApiHubServer) CreateApi

func (UnimplementedApiHubServer) CreateApiOperation added in v0.2.0

func (UnimplementedApiHubServer) CreateAttribute

func (UnimplementedApiHubServer) CreateDeployment

func (UnimplementedApiHubServer) CreateExternalApi

func (UnimplementedApiHubServer) CreateSpec

func (UnimplementedApiHubServer) CreateVersion

func (UnimplementedApiHubServer) DeleteApi

func (UnimplementedApiHubServer) DeleteApiOperation added in v0.2.0

func (UnimplementedApiHubServer) DeleteAttribute

func (UnimplementedApiHubServer) DeleteDeployment

func (UnimplementedApiHubServer) DeleteExternalApi

func (UnimplementedApiHubServer) DeleteSpec

func (UnimplementedApiHubServer) DeleteVersion

func (UnimplementedApiHubServer) GetApi

func (UnimplementedApiHubServer) GetApiOperation

func (UnimplementedApiHubServer) GetAttribute

func (UnimplementedApiHubServer) GetDefinition

func (UnimplementedApiHubServer) GetDeployment

func (UnimplementedApiHubServer) GetExternalApi

func (UnimplementedApiHubServer) GetSpec

func (UnimplementedApiHubServer) GetSpecContents

func (UnimplementedApiHubServer) GetVersion

func (UnimplementedApiHubServer) ListApis

func (UnimplementedApiHubServer) ListAttributes

func (UnimplementedApiHubServer) ListDeployments

func (UnimplementedApiHubServer) ListExternalApis

func (UnimplementedApiHubServer) ListSpecs

func (UnimplementedApiHubServer) ListVersions

func (UnimplementedApiHubServer) SearchResources

func (UnimplementedApiHubServer) UpdateApi

func (UnimplementedApiHubServer) UpdateApiOperation added in v0.2.0

func (UnimplementedApiHubServer) UpdateAttribute

func (UnimplementedApiHubServer) UpdateDeployment

func (UnimplementedApiHubServer) UpdateExternalApi

func (UnimplementedApiHubServer) UpdateSpec

func (UnimplementedApiHubServer) UpdateVersion

type UnimplementedHostProjectRegistrationServiceServer

type UnimplementedHostProjectRegistrationServiceServer struct {
}

UnimplementedHostProjectRegistrationServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedHostProjectRegistrationServiceServer) CreateHostProjectRegistration

func (UnimplementedHostProjectRegistrationServiceServer) GetHostProjectRegistration

type UnimplementedLintingServiceServer

type UnimplementedLintingServiceServer struct {
}

UnimplementedLintingServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedLintingServiceServer) GetStyleGuide

func (UnimplementedLintingServiceServer) GetStyleGuideContents

func (UnimplementedLintingServiceServer) LintSpec

func (UnimplementedLintingServiceServer) UpdateStyleGuide

type UnimplementedProvisioningServer

type UnimplementedProvisioningServer struct {
}

UnimplementedProvisioningServer should be embedded to have forward compatible implementations.

func (UnimplementedProvisioningServer) CreateApiHubInstance

func (UnimplementedProvisioningServer) DeleteApiHubInstance added in v0.2.0

func (UnimplementedProvisioningServer) GetApiHubInstance

type UnimplementedRuntimeProjectAttachmentServiceServer

type UnimplementedRuntimeProjectAttachmentServiceServer struct {
}

UnimplementedRuntimeProjectAttachmentServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRuntimeProjectAttachmentServiceServer) CreateRuntimeProjectAttachment

func (UnimplementedRuntimeProjectAttachmentServiceServer) DeleteRuntimeProjectAttachment

func (UnimplementedRuntimeProjectAttachmentServiceServer) GetRuntimeProjectAttachment

type UnsafeApiHubCollectServer added in v0.2.0

type UnsafeApiHubCollectServer interface {
	// contains filtered or unexported methods
}

UnsafeApiHubCollectServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiHubCollectServer will result in compilation errors.

type UnsafeApiHubCurateServer added in v0.2.0

type UnsafeApiHubCurateServer interface {
	// contains filtered or unexported methods
}

UnsafeApiHubCurateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiHubCurateServer will result in compilation errors.

type UnsafeApiHubDependenciesServer added in v0.2.0

type UnsafeApiHubDependenciesServer interface {
	// contains filtered or unexported methods
}

UnsafeApiHubDependenciesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiHubDependenciesServer will result in compilation errors.

type UnsafeApiHubDiscoveryServer added in v0.2.0

type UnsafeApiHubDiscoveryServer interface {
	// contains filtered or unexported methods
}

UnsafeApiHubDiscoveryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiHubDiscoveryServer will result in compilation errors.

type UnsafeApiHubPluginServer added in v0.2.0

type UnsafeApiHubPluginServer interface {
	// contains filtered or unexported methods
}

UnsafeApiHubPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiHubPluginServer will result in compilation errors.

type UnsafeApiHubServer added in v0.2.0

type UnsafeApiHubServer interface {
	// contains filtered or unexported methods
}

UnsafeApiHubServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiHubServer will result in compilation errors.

type UnsafeHostProjectRegistrationServiceServer added in v0.2.0

type UnsafeHostProjectRegistrationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeHostProjectRegistrationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HostProjectRegistrationServiceServer will result in compilation errors.

type UnsafeLintingServiceServer added in v0.2.0

type UnsafeLintingServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLintingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LintingServiceServer will result in compilation errors.

type UnsafeProvisioningServer added in v0.2.0

type UnsafeProvisioningServer interface {
	// contains filtered or unexported methods
}

UnsafeProvisioningServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProvisioningServer will result in compilation errors.

type UnsafeRuntimeProjectAttachmentServiceServer added in v0.2.0

type UnsafeRuntimeProjectAttachmentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRuntimeProjectAttachmentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuntimeProjectAttachmentServiceServer will result in compilation errors.

type UpdateApiOperationRequest added in v0.2.0

type UpdateApiOperationRequest struct {

	// Required. The apiOperation resource to update.
	//
	// The operation resource's `name` field is used to identify the operation
	// resource to update.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
	ApiOperation *ApiOperation `protobuf:"bytes,1,opt,name=api_operation,json=apiOperation,proto3" json:"api_operation,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateApiOperation][google.cloud.apihub.v1.ApiHub.UpdateApiOperation] method's request.

func (*UpdateApiOperationRequest) Descriptor deprecated added in v0.2.0

func (*UpdateApiOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateApiOperationRequest.ProtoReflect.Descriptor instead.

func (*UpdateApiOperationRequest) GetApiOperation added in v0.2.0

func (x *UpdateApiOperationRequest) GetApiOperation() *ApiOperation

func (*UpdateApiOperationRequest) GetUpdateMask added in v0.2.0

func (x *UpdateApiOperationRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateApiOperationRequest) ProtoMessage added in v0.2.0

func (*UpdateApiOperationRequest) ProtoMessage()

func (*UpdateApiOperationRequest) ProtoReflect added in v0.2.0

func (*UpdateApiOperationRequest) Reset added in v0.2.0

func (x *UpdateApiOperationRequest) Reset()

func (*UpdateApiOperationRequest) String added in v0.2.0

func (x *UpdateApiOperationRequest) String() string

type UpdateApiRequest

type UpdateApiRequest struct {

	// Required. The API resource to update.
	//
	// The API resource's `name` field is used to identify the API resource to
	// update.
	// Format: `projects/{project}/locations/{location}/apis/{api}`
	Api *Api `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateApi][google.cloud.apihub.v1.ApiHub.UpdateApi] method's request.

func (*UpdateApiRequest) Descriptor deprecated

func (*UpdateApiRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateApiRequest.ProtoReflect.Descriptor instead.

func (*UpdateApiRequest) GetApi

func (x *UpdateApiRequest) GetApi() *Api

func (*UpdateApiRequest) GetUpdateMask

func (x *UpdateApiRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateApiRequest) ProtoMessage

func (*UpdateApiRequest) ProtoMessage()

func (*UpdateApiRequest) ProtoReflect

func (x *UpdateApiRequest) ProtoReflect() protoreflect.Message

func (*UpdateApiRequest) Reset

func (x *UpdateApiRequest) Reset()

func (*UpdateApiRequest) String

func (x *UpdateApiRequest) String() string

type UpdateAttributeRequest

type UpdateAttributeRequest struct {

	// Required. The attribute to update.
	//
	// The attribute's `name` field is used to identify the attribute to update.
	// Format:
	// `projects/{project}/locations/{location}/attributes/{attribute}`
	Attribute *Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method's request.

func (*UpdateAttributeRequest) Descriptor deprecated

func (*UpdateAttributeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAttributeRequest.ProtoReflect.Descriptor instead.

func (*UpdateAttributeRequest) GetAttribute

func (x *UpdateAttributeRequest) GetAttribute() *Attribute

func (*UpdateAttributeRequest) GetUpdateMask

func (x *UpdateAttributeRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAttributeRequest) ProtoMessage

func (*UpdateAttributeRequest) ProtoMessage()

func (*UpdateAttributeRequest) ProtoReflect

func (x *UpdateAttributeRequest) ProtoReflect() protoreflect.Message

func (*UpdateAttributeRequest) Reset

func (x *UpdateAttributeRequest) Reset()

func (*UpdateAttributeRequest) String

func (x *UpdateAttributeRequest) String() string

type UpdateCurationRequest added in v0.2.0

type UpdateCurationRequest struct {

	// Required. The curation resource to update.
	//
	// The curation resource's `name` field is used to identify the curation
	// resource to update.
	// Format: `projects/{project}/locations/{location}/curations/{curation}`
	Curation *Curation `protobuf:"bytes,1,opt,name=curation,proto3" json:"curation,omitempty"`
	// Optional. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateCuration][ApiHub.UpdateCuration] method's request.

func (*UpdateCurationRequest) Descriptor deprecated added in v0.2.0

func (*UpdateCurationRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCurationRequest.ProtoReflect.Descriptor instead.

func (*UpdateCurationRequest) GetCuration added in v0.2.0

func (x *UpdateCurationRequest) GetCuration() *Curation

func (*UpdateCurationRequest) GetUpdateMask added in v0.2.0

func (x *UpdateCurationRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateCurationRequest) ProtoMessage added in v0.2.0

func (*UpdateCurationRequest) ProtoMessage()

func (*UpdateCurationRequest) ProtoReflect added in v0.2.0

func (x *UpdateCurationRequest) ProtoReflect() protoreflect.Message

func (*UpdateCurationRequest) Reset added in v0.2.0

func (x *UpdateCurationRequest) Reset()

func (*UpdateCurationRequest) String added in v0.2.0

func (x *UpdateCurationRequest) String() string

type UpdateDependencyRequest

type UpdateDependencyRequest struct {

	// Required. The dependency resource to update.
	//
	// The dependency's `name` field is used to identify the dependency to update.
	// Format: `projects/{project}/locations/{location}/dependencies/{dependency}`
	Dependency *Dependency `protobuf:"bytes,1,opt,name=dependency,proto3" json:"dependency,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateDependency][google.cloud.apihub.v1.ApiHubDependencies.UpdateDependency] method's request.

func (*UpdateDependencyRequest) Descriptor deprecated

func (*UpdateDependencyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDependencyRequest.ProtoReflect.Descriptor instead.

func (*UpdateDependencyRequest) GetDependency

func (x *UpdateDependencyRequest) GetDependency() *Dependency

func (*UpdateDependencyRequest) GetUpdateMask

func (x *UpdateDependencyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateDependencyRequest) ProtoMessage

func (*UpdateDependencyRequest) ProtoMessage()

func (*UpdateDependencyRequest) ProtoReflect

func (x *UpdateDependencyRequest) ProtoReflect() protoreflect.Message

func (*UpdateDependencyRequest) Reset

func (x *UpdateDependencyRequest) Reset()

func (*UpdateDependencyRequest) String

func (x *UpdateDependencyRequest) String() string

type UpdateDeploymentRequest

type UpdateDeploymentRequest struct {

	// Required. The deployment resource to update.
	//
	// The deployment resource's `name` field is used to identify the deployment
	// resource to update.
	// Format: `projects/{project}/locations/{location}/deployments/{deployment}`
	Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateDeployment][google.cloud.apihub.v1.ApiHub.UpdateDeployment] method's request.

func (*UpdateDeploymentRequest) Descriptor deprecated

func (*UpdateDeploymentRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDeploymentRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeploymentRequest) GetDeployment

func (x *UpdateDeploymentRequest) GetDeployment() *Deployment

func (*UpdateDeploymentRequest) GetUpdateMask

func (x *UpdateDeploymentRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateDeploymentRequest) ProtoMessage

func (*UpdateDeploymentRequest) ProtoMessage()

func (*UpdateDeploymentRequest) ProtoReflect

func (x *UpdateDeploymentRequest) ProtoReflect() protoreflect.Message

func (*UpdateDeploymentRequest) Reset

func (x *UpdateDeploymentRequest) Reset()

func (*UpdateDeploymentRequest) String

func (x *UpdateDeploymentRequest) String() string

type UpdateExternalApiRequest

type UpdateExternalApiRequest struct {

	// Required. The External API resource to update.
	//
	// The External API resource's `name` field is used to identify the External
	// API resource to update. Format:
	// `projects/{project}/locations/{location}/externalApis/{externalApi}`
	ExternalApi *ExternalApi `protobuf:"bytes,1,opt,name=external_api,json=externalApi,proto3" json:"external_api,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateExternalApi][google.cloud.apihub.v1.ApiHub.UpdateExternalApi] method's request.

func (*UpdateExternalApiRequest) Descriptor deprecated

func (*UpdateExternalApiRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateExternalApiRequest.ProtoReflect.Descriptor instead.

func (*UpdateExternalApiRequest) GetExternalApi

func (x *UpdateExternalApiRequest) GetExternalApi() *ExternalApi

func (*UpdateExternalApiRequest) GetUpdateMask

func (x *UpdateExternalApiRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateExternalApiRequest) ProtoMessage

func (*UpdateExternalApiRequest) ProtoMessage()

func (*UpdateExternalApiRequest) ProtoReflect

func (x *UpdateExternalApiRequest) ProtoReflect() protoreflect.Message

func (*UpdateExternalApiRequest) Reset

func (x *UpdateExternalApiRequest) Reset()

func (*UpdateExternalApiRequest) String

func (x *UpdateExternalApiRequest) String() string

type UpdatePluginInstanceRequest added in v0.2.0

type UpdatePluginInstanceRequest struct {

	// Required. The plugin instance to update.
	PluginInstance *PluginInstance `protobuf:"bytes,1,opt,name=plugin_instance,json=pluginInstance,proto3" json:"plugin_instance,omitempty"`
	// Optional. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdatePluginInstance][google.cloud.apihub.v1.ApiHubPlugin.UpdatePluginInstance] method's request.

func (*UpdatePluginInstanceRequest) Descriptor deprecated added in v0.2.0

func (*UpdatePluginInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePluginInstanceRequest.ProtoReflect.Descriptor instead.

func (*UpdatePluginInstanceRequest) GetPluginInstance added in v0.2.0

func (x *UpdatePluginInstanceRequest) GetPluginInstance() *PluginInstance

func (*UpdatePluginInstanceRequest) GetUpdateMask added in v0.2.0

func (*UpdatePluginInstanceRequest) ProtoMessage added in v0.2.0

func (*UpdatePluginInstanceRequest) ProtoMessage()

func (*UpdatePluginInstanceRequest) ProtoReflect added in v0.2.0

func (*UpdatePluginInstanceRequest) Reset added in v0.2.0

func (x *UpdatePluginInstanceRequest) Reset()

func (*UpdatePluginInstanceRequest) String added in v0.2.0

func (x *UpdatePluginInstanceRequest) String() string

type UpdateSpecRequest

type UpdateSpecRequest struct {

	// Required. The spec to update.
	//
	// The spec's `name` field is used to identify the spec to
	// update. Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	Spec *Spec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateSpec][google.cloud.apihub.v1.ApiHub.UpdateSpec] method's request.

func (*UpdateSpecRequest) Descriptor deprecated

func (*UpdateSpecRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSpecRequest.ProtoReflect.Descriptor instead.

func (*UpdateSpecRequest) GetSpec

func (x *UpdateSpecRequest) GetSpec() *Spec

func (*UpdateSpecRequest) GetUpdateMask

func (x *UpdateSpecRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateSpecRequest) ProtoMessage

func (*UpdateSpecRequest) ProtoMessage()

func (*UpdateSpecRequest) ProtoReflect

func (x *UpdateSpecRequest) ProtoReflect() protoreflect.Message

func (*UpdateSpecRequest) Reset

func (x *UpdateSpecRequest) Reset()

func (*UpdateSpecRequest) String

func (x *UpdateSpecRequest) String() string

type UpdateStyleGuideRequest

type UpdateStyleGuideRequest struct {

	// Required. The Style guide resource to update.
	StyleGuide *StyleGuide `protobuf:"bytes,1,opt,name=style_guide,json=styleGuide,proto3" json:"style_guide,omitempty"`
	// Optional. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateStyleGuide][google.cloud.apihub.v1.LintingService.UpdateStyleGuide] method's request.

func (*UpdateStyleGuideRequest) Descriptor deprecated

func (*UpdateStyleGuideRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateStyleGuideRequest.ProtoReflect.Descriptor instead.

func (*UpdateStyleGuideRequest) GetStyleGuide

func (x *UpdateStyleGuideRequest) GetStyleGuide() *StyleGuide

func (*UpdateStyleGuideRequest) GetUpdateMask

func (x *UpdateStyleGuideRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateStyleGuideRequest) ProtoMessage

func (*UpdateStyleGuideRequest) ProtoMessage()

func (*UpdateStyleGuideRequest) ProtoReflect

func (x *UpdateStyleGuideRequest) ProtoReflect() protoreflect.Message

func (*UpdateStyleGuideRequest) Reset

func (x *UpdateStyleGuideRequest) Reset()

func (*UpdateStyleGuideRequest) String

func (x *UpdateStyleGuideRequest) String() string

type UpdateVersionRequest

type UpdateVersionRequest struct {

	// Required. The API version to update.
	//
	// The version's `name` field is used to identify the API version to update.
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Required. The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The [UpdateVersion][google.cloud.apihub.v1.ApiHub.UpdateVersion] method's request.

func (*UpdateVersionRequest) Descriptor deprecated

func (*UpdateVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead.

func (*UpdateVersionRequest) GetUpdateMask

func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateVersionRequest) GetVersion

func (x *UpdateVersionRequest) GetVersion() *Version

func (*UpdateVersionRequest) ProtoMessage

func (*UpdateVersionRequest) ProtoMessage()

func (*UpdateVersionRequest) ProtoReflect

func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Message

func (*UpdateVersionRequest) Reset

func (x *UpdateVersionRequest) Reset()

func (*UpdateVersionRequest) String

func (x *UpdateVersionRequest) String() string

type Version

type Version struct {

	// Identifier. The name of the version.
	//
	// Format:
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the version.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The description of the version.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. The documentation of the version.
	Documentation *Documentation `protobuf:"bytes,4,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Output only. The specs associated with this version.
	// Note that an API version can be associated with multiple specs.
	// Format is
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
	Specs []string `protobuf:"bytes,5,rep,name=specs,proto3" json:"specs,omitempty"`
	// Output only. The operations contained in the API version.
	// These operations will be added to the version when a new spec is
	// added or when an existing spec is updated. Format is
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
	ApiOperations []string `protobuf:"bytes,6,rep,name=api_operations,json=apiOperations,proto3" json:"api_operations,omitempty"`
	// Output only. The definitions contained in the API version.
	// These definitions will be added to the version when a new spec is
	// added or when an existing spec is updated. Format is
	// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`
	Definitions []string `protobuf:"bytes,7,rep,name=definitions,proto3" json:"definitions,omitempty"`
	// Optional. The deployments linked to this API version.
	// Note: A particular API version could be deployed to multiple deployments
	// (for dev deployment, UAT deployment, etc)
	// Format is
	// `projects/{project}/locations/{location}/deployments/{deployment}`
	Deployments []string `protobuf:"bytes,8,rep,name=deployments,proto3" json:"deployments,omitempty"`
	// Output only. The time at which the version was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the version was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The lifecycle of the API version.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-lifecycle`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	Lifecycle *AttributeValues `protobuf:"bytes,11,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	// Optional. The compliance associated with the API version.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-compliance`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	Compliance *AttributeValues `protobuf:"bytes,12,opt,name=compliance,proto3" json:"compliance,omitempty"`
	// Optional. The accreditations associated with the API version.
	// This maps to the following system defined attribute:
	// `projects/{project}/locations/{location}/attributes/system-accreditation`
	// attribute.
	// The number of values for this attribute will be based on the
	// cardinality of the attribute. The same can be retrieved via GetAttribute
	// API. All values should be from the list of allowed values defined for the
	// attribute.
	Accreditation *AttributeValues `protobuf:"bytes,13,opt,name=accreditation,proto3" json:"accreditation,omitempty"`
	// Optional. The list of user defined attributes associated with the Version
	// resource. The key is the attribute name. It will be of the format:
	// `projects/{project}/locations/{location}/attributes/{attribute}`.
	// The value is the attribute values associated with the resource.
	Attributes map[string]*AttributeValues `` /* 162-byte string literal not displayed */
	// Optional. The selected deployment for a Version resource.
	// This can be used when special handling is needed on client side for a
	// particular deployment linked to the version.
	// Format is
	// `projects/{project}/locations/{location}/deployments/{deployment}`
	SelectedDeployment string `protobuf:"bytes,16,opt,name=selected_deployment,json=selectedDeployment,proto3" json:"selected_deployment,omitempty"`
	// Output only. The list of sources and metadata from the sources of the
	// version.
	SourceMetadata []*SourceMetadata `protobuf:"bytes,17,rep,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// contains filtered or unexported fields
}

Represents a version of the API resource in API hub. This is also referred to as the API version.

func (*Version) Descriptor deprecated

func (*Version) Descriptor() ([]byte, []int)

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetAccreditation

func (x *Version) GetAccreditation() *AttributeValues

func (*Version) GetApiOperations

func (x *Version) GetApiOperations() []string

func (*Version) GetAttributes

func (x *Version) GetAttributes() map[string]*AttributeValues

func (*Version) GetCompliance

func (x *Version) GetCompliance() *AttributeValues

func (*Version) GetCreateTime

func (x *Version) GetCreateTime() *timestamppb.Timestamp

func (*Version) GetDefinitions

func (x *Version) GetDefinitions() []string

func (*Version) GetDeployments

func (x *Version) GetDeployments() []string

func (*Version) GetDescription

func (x *Version) GetDescription() string

func (*Version) GetDisplayName

func (x *Version) GetDisplayName() string

func (*Version) GetDocumentation

func (x *Version) GetDocumentation() *Documentation

func (*Version) GetLifecycle

func (x *Version) GetLifecycle() *AttributeValues

func (*Version) GetName

func (x *Version) GetName() string

func (*Version) GetSelectedDeployment

func (x *Version) GetSelectedDeployment() string

func (*Version) GetSourceMetadata added in v0.2.0

func (x *Version) GetSourceMetadata() []*SourceMetadata

func (*Version) GetSpecs

func (x *Version) GetSpecs() []string

func (*Version) GetUpdateTime

func (x *Version) GetUpdateTime() *timestamppb.Timestamp

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type VersionMetadata added in v0.2.0

type VersionMetadata struct {

	// Required. Represents a version of the API resource in API hub. The ID of
	// the version will be generated by Hub.
	Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Optional. The specs associated with this version.
	// Note that an API version can be associated with multiple specs.
	Specs []*SpecMetadata `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"`
	// Optional. The deployments linked to this API version.
	// Note: A particular API version could be deployed to multiple deployments
	// (for dev deployment, UAT deployment, etc.)
	Deployments []*DeploymentMetadata `protobuf:"bytes,4,rep,name=deployments,proto3" json:"deployments,omitempty"`
	// Optional. The unique identifier of the version in the system where it was
	// originally created.
	OriginalId string `protobuf:"bytes,5,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
	// Optional. Timestamp indicating when the version was created at the source.
	OriginalCreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=original_create_time,json=originalCreateTime,proto3" json:"original_create_time,omitempty"`
	// Required. Timestamp indicating when the version was last updated at the
	// source.
	OriginalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=original_update_time,json=originalUpdateTime,proto3" json:"original_update_time,omitempty"`
	// contains filtered or unexported fields
}

The metadata associated with a version of the API resource.

func (*VersionMetadata) Descriptor deprecated added in v0.2.0

func (*VersionMetadata) Descriptor() ([]byte, []int)

Deprecated: Use VersionMetadata.ProtoReflect.Descriptor instead.

func (*VersionMetadata) GetDeployments added in v0.2.0

func (x *VersionMetadata) GetDeployments() []*DeploymentMetadata

func (*VersionMetadata) GetOriginalCreateTime added in v0.2.0

func (x *VersionMetadata) GetOriginalCreateTime() *timestamppb.Timestamp

func (*VersionMetadata) GetOriginalId added in v0.2.0

func (x *VersionMetadata) GetOriginalId() string

func (*VersionMetadata) GetOriginalUpdateTime added in v0.2.0

func (x *VersionMetadata) GetOriginalUpdateTime() *timestamppb.Timestamp

func (*VersionMetadata) GetSpecs added in v0.2.0

func (x *VersionMetadata) GetSpecs() []*SpecMetadata

func (*VersionMetadata) GetVersion added in v0.2.0

func (x *VersionMetadata) GetVersion() *Version

func (*VersionMetadata) ProtoMessage added in v0.2.0

func (*VersionMetadata) ProtoMessage()

func (*VersionMetadata) ProtoReflect added in v0.2.0

func (x *VersionMetadata) ProtoReflect() protoreflect.Message

func (*VersionMetadata) Reset added in v0.2.0

func (x *VersionMetadata) Reset()

func (*VersionMetadata) String added in v0.2.0

func (x *VersionMetadata) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL