Constants
ParameterManager_ListParameters_FullMethodName, ParameterManager_GetParameter_FullMethodName, ParameterManager_CreateParameter_FullMethodName, ParameterManager_UpdateParameter_FullMethodName, ParameterManager_DeleteParameter_FullMethodName, ParameterManager_ListParameterVersions_FullMethodName, ParameterManager_GetParameterVersion_FullMethodName, ParameterManager_RenderParameterVersion_FullMethodName, ParameterManager_CreateParameterVersion_FullMethodName, ParameterManager_UpdateParameterVersion_FullMethodName, ParameterManager_DeleteParameterVersion_FullMethodName, ParameterManager_ListTemplates_FullMethodName, ParameterManager_GetTemplate_FullMethodName, ParameterManager_CreateTemplate_FullMethodName, ParameterManager_UpdateTemplate_FullMethodName, ParameterManager_DeleteTemplate_FullMethodName, ParameterManager_ListTemplateVersions_FullMethodName, ParameterManager_GetTemplateVersion_FullMethodName, ParameterManager_CreateTemplateVersion_FullMethodName, ParameterManager_UpdateTemplateVersion_FullMethodName, ParameterManager_DeleteTemplateVersion_FullMethodName, ParameterManager_RenderTemplateVersion_FullMethodName
const (
ParameterManager_ListParameters_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/ListParameters"
ParameterManager_GetParameter_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/GetParameter"
ParameterManager_CreateParameter_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/CreateParameter"
ParameterManager_UpdateParameter_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/UpdateParameter"
ParameterManager_DeleteParameter_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/DeleteParameter"
ParameterManager_ListParameterVersions_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/ListParameterVersions"
ParameterManager_GetParameterVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/GetParameterVersion"
ParameterManager_RenderParameterVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/RenderParameterVersion"
ParameterManager_CreateParameterVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/CreateParameterVersion"
ParameterManager_UpdateParameterVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/UpdateParameterVersion"
ParameterManager_DeleteParameterVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/DeleteParameterVersion"
ParameterManager_ListTemplates_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/ListTemplates"
ParameterManager_GetTemplate_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/GetTemplate"
ParameterManager_CreateTemplate_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/CreateTemplate"
ParameterManager_UpdateTemplate_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/UpdateTemplate"
ParameterManager_DeleteTemplate_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/DeleteTemplate"
ParameterManager_ListTemplateVersions_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/ListTemplateVersions"
ParameterManager_GetTemplateVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/GetTemplateVersion"
ParameterManager_CreateTemplateVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/CreateTemplateVersion"
ParameterManager_UpdateTemplateVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/UpdateTemplateVersion"
ParameterManager_DeleteTemplateVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/DeleteTemplateVersion"
ParameterManager_RenderTemplateVersion_FullMethodName = "/google.cloud.parametermanager.v1.ParameterManager/RenderTemplateVersion"
)Variables
ParameterFormat_name, ParameterFormat_value
var (
ParameterFormat_name = map[int32]string{
0: "PARAMETER_FORMAT_UNSPECIFIED",
1: "UNFORMATTED",
2: "YAML",
3: "JSON",
}
ParameterFormat_value = map[string]int32{
"PARAMETER_FORMAT_UNSPECIFIED": 0,
"UNFORMATTED": 1,
"YAML": 2,
"JSON": 3,
}
)Enum value maps for ParameterFormat.
TemplateFormat_name, TemplateFormat_value
var (
TemplateFormat_name = map[int32]string{
0: "TEMPLATE_FORMAT_UNSPECIFIED",
1: "TEMPLATE_FORMAT_YAML",
2: "TEMPLATE_FORMAT_JSON",
}
TemplateFormat_value = map[string]int32{
"TEMPLATE_FORMAT_UNSPECIFIED": 0,
"TEMPLATE_FORMAT_YAML": 1,
"TEMPLATE_FORMAT_JSON": 2,
}
)Enum value maps for TemplateFormat.
View_name, View_value
var (
View_name = map[int32]string{
0: "VIEW_UNSPECIFIED",
1: "BASIC",
2: "FULL",
}
View_value = map[string]int32{
"VIEW_UNSPECIFIED": 0,
"BASIC": 1,
"FULL": 2,
}
)Enum value maps for View.
ParameterVersion_ChecksumSource_name, ParameterVersion_ChecksumSource_value
var (
ParameterVersion_ChecksumSource_name = map[int32]string{
0: "CHECKSUM_SOURCE_UNSPECIFIED",
1: "SERVER_GENERATED",
2: "USER_SPECIFIED",
}
ParameterVersion_ChecksumSource_value = map[string]int32{
"CHECKSUM_SOURCE_UNSPECIFIED": 0,
"SERVER_GENERATED": 1,
"USER_SPECIFIED": 2,
}
)Enum value maps for ParameterVersion_ChecksumSource.
File_google_cloud_parametermanager_v1_service_proto
var File_google_cloud_parametermanager_v1_service_proto protoreflect.FileDescriptorParameterManager_ServiceDesc
var ParameterManager_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.parametermanager.v1.ParameterManager",
HandlerType: (*ParameterManagerServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListParameters",
Handler: _ParameterManager_ListParameters_Handler,
},
{
MethodName: "GetParameter",
Handler: _ParameterManager_GetParameter_Handler,
},
{
MethodName: "CreateParameter",
Handler: _ParameterManager_CreateParameter_Handler,
},
{
MethodName: "UpdateParameter",
Handler: _ParameterManager_UpdateParameter_Handler,
},
{
MethodName: "DeleteParameter",
Handler: _ParameterManager_DeleteParameter_Handler,
},
{
MethodName: "ListParameterVersions",
Handler: _ParameterManager_ListParameterVersions_Handler,
},
{
MethodName: "GetParameterVersion",
Handler: _ParameterManager_GetParameterVersion_Handler,
},
{
MethodName: "RenderParameterVersion",
Handler: _ParameterManager_RenderParameterVersion_Handler,
},
{
MethodName: "CreateParameterVersion",
Handler: _ParameterManager_CreateParameterVersion_Handler,
},
{
MethodName: "UpdateParameterVersion",
Handler: _ParameterManager_UpdateParameterVersion_Handler,
},
{
MethodName: "DeleteParameterVersion",
Handler: _ParameterManager_DeleteParameterVersion_Handler,
},
{
MethodName: "ListTemplates",
Handler: _ParameterManager_ListTemplates_Handler,
},
{
MethodName: "GetTemplate",
Handler: _ParameterManager_GetTemplate_Handler,
},
{
MethodName: "CreateTemplate",
Handler: _ParameterManager_CreateTemplate_Handler,
},
{
MethodName: "UpdateTemplate",
Handler: _ParameterManager_UpdateTemplate_Handler,
},
{
MethodName: "DeleteTemplate",
Handler: _ParameterManager_DeleteTemplate_Handler,
},
{
MethodName: "ListTemplateVersions",
Handler: _ParameterManager_ListTemplateVersions_Handler,
},
{
MethodName: "GetTemplateVersion",
Handler: _ParameterManager_GetTemplateVersion_Handler,
},
{
MethodName: "CreateTemplateVersion",
Handler: _ParameterManager_CreateTemplateVersion_Handler,
},
{
MethodName: "UpdateTemplateVersion",
Handler: _ParameterManager_UpdateTemplateVersion_Handler,
},
{
MethodName: "DeleteTemplateVersion",
Handler: _ParameterManager_DeleteTemplateVersion_Handler,
},
{
MethodName: "RenderTemplateVersion",
Handler: _ParameterManager_RenderTemplateVersion_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/parametermanager/v1/service.proto",
}ParameterManager_ServiceDesc is the grpc.ServiceDesc for ParameterManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterParameterManagerServer
func RegisterParameterManagerServer(s grpc.ServiceRegistrar, srv ParameterManagerServer)CreateParameterRequest
type CreateParameterRequest struct {
// Required. Value for parent in the format
// `projects/*/locations/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the Parameter resource
ParameterId string `protobuf:"bytes,2,opt,name=parameter_id,json=parameterId,proto3" json:"parameter_id,omitempty"`
// Required. The Parameter resource being created
Parameter *Parameter `protobuf:"bytes,3,opt,name=parameter,proto3" json:"parameter,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a Parameter
func (*CreateParameterRequest) Descriptor
func (*CreateParameterRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateParameterRequest.ProtoReflect.Descriptor instead.
func (*CreateParameterRequest) GetParameter
func (x *CreateParameterRequest) GetParameter() *Parameterfunc (*CreateParameterRequest) GetParameterId
func (x *CreateParameterRequest) GetParameterId() stringfunc (*CreateParameterRequest) GetParent
func (x *CreateParameterRequest) GetParent() stringfunc (*CreateParameterRequest) GetRequestId
func (x *CreateParameterRequest) GetRequestId() stringfunc (*CreateParameterRequest) ProtoMessage
func (*CreateParameterRequest) ProtoMessage()func (*CreateParameterRequest) ProtoReflect
func (x *CreateParameterRequest) ProtoReflect() protoreflect.Messagefunc (*CreateParameterRequest) Reset
func (x *CreateParameterRequest) Reset()func (*CreateParameterRequest) String
func (x *CreateParameterRequest) String() stringCreateParameterVersionRequest
type CreateParameterVersionRequest struct {
// Required. Value for parent in the format
// `projects/*/locations/*/parameters/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the ParameterVersion resource
ParameterVersionId string `protobuf:"bytes,2,opt,name=parameter_version_id,json=parameterVersionId,proto3" json:"parameter_version_id,omitempty"`
// Required. The ParameterVersion resource being created
ParameterVersion *ParameterVersion `protobuf:"bytes,3,opt,name=parameter_version,json=parameterVersion,proto3" json:"parameter_version,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a ParameterVersion
func (*CreateParameterVersionRequest) Descriptor
func (*CreateParameterVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateParameterVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateParameterVersionRequest) GetParameterVersion
func (x *CreateParameterVersionRequest) GetParameterVersion() *ParameterVersionfunc (*CreateParameterVersionRequest) GetParameterVersionId
func (x *CreateParameterVersionRequest) GetParameterVersionId() stringfunc (*CreateParameterVersionRequest) GetParent
func (x *CreateParameterVersionRequest) GetParent() stringfunc (*CreateParameterVersionRequest) GetRequestId
func (x *CreateParameterVersionRequest) GetRequestId() stringfunc (*CreateParameterVersionRequest) ProtoMessage
func (*CreateParameterVersionRequest) ProtoMessage()func (*CreateParameterVersionRequest) ProtoReflect
func (x *CreateParameterVersionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateParameterVersionRequest) Reset
func (x *CreateParameterVersionRequest) Reset()func (*CreateParameterVersionRequest) String
func (x *CreateParameterVersionRequest) String() stringCreateTemplateRequest
type CreateTemplateRequest struct {
// Required. Value for parent in the format
// `projects/*/locations/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the Template resource
TemplateId string `protobuf:"bytes,2,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
// Required. The Template resource being created
Template *Template `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a Template
func (*CreateTemplateRequest) Descriptor
func (*CreateTemplateRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateTemplateRequest) GetParent
func (x *CreateTemplateRequest) GetParent() stringfunc (*CreateTemplateRequest) GetRequestId
func (x *CreateTemplateRequest) GetRequestId() stringfunc (*CreateTemplateRequest) GetTemplate
func (x *CreateTemplateRequest) GetTemplate() *Templatefunc (*CreateTemplateRequest) GetTemplateId
func (x *CreateTemplateRequest) GetTemplateId() stringfunc (*CreateTemplateRequest) ProtoMessage
func (*CreateTemplateRequest) ProtoMessage()func (*CreateTemplateRequest) ProtoReflect
func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTemplateRequest) Reset
func (x *CreateTemplateRequest) Reset()func (*CreateTemplateRequest) String
func (x *CreateTemplateRequest) String() stringCreateTemplateVersionRequest
type CreateTemplateVersionRequest struct {
// Required. Value for parent in the format
// `projects/*/locations/*/templates/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the TemplateVersion resource
TemplateVersionId string `protobuf:"bytes,2,opt,name=template_version_id,json=templateVersionId,proto3" json:"template_version_id,omitempty"`
// Required. The TemplateVersion resource being created
TemplateVersion *TemplateVersion `protobuf:"bytes,3,opt,name=template_version,json=templateVersion,proto3" json:"template_version,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a TemplateVersion
func (*CreateTemplateVersionRequest) Descriptor
func (*CreateTemplateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTemplateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateTemplateVersionRequest) GetParent
func (x *CreateTemplateVersionRequest) GetParent() stringfunc (*CreateTemplateVersionRequest) GetRequestId
func (x *CreateTemplateVersionRequest) GetRequestId() stringfunc (*CreateTemplateVersionRequest) GetTemplateVersion
func (x *CreateTemplateVersionRequest) GetTemplateVersion() *TemplateVersionfunc (*CreateTemplateVersionRequest) GetTemplateVersionId
func (x *CreateTemplateVersionRequest) GetTemplateVersionId() stringfunc (*CreateTemplateVersionRequest) ProtoMessage
func (*CreateTemplateVersionRequest) ProtoMessage()func (*CreateTemplateVersionRequest) ProtoReflect
func (x *CreateTemplateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTemplateVersionRequest) Reset
func (x *CreateTemplateVersionRequest) Reset()func (*CreateTemplateVersionRequest) String
func (x *CreateTemplateVersionRequest) String() stringDeleteParameterRequest
type DeleteParameterRequest struct {
// Required. Name of the resource in the format
// `projects/*/locations/*/parameters/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a Parameter
func (*DeleteParameterRequest) Descriptor
func (*DeleteParameterRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteParameterRequest.ProtoReflect.Descriptor instead.
func (*DeleteParameterRequest) GetName
func (x *DeleteParameterRequest) GetName() stringfunc (*DeleteParameterRequest) GetRequestId
func (x *DeleteParameterRequest) GetRequestId() stringfunc (*DeleteParameterRequest) ProtoMessage
func (*DeleteParameterRequest) ProtoMessage()func (*DeleteParameterRequest) ProtoReflect
func (x *DeleteParameterRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteParameterRequest) Reset
func (x *DeleteParameterRequest) Reset()func (*DeleteParameterRequest) String
func (x *DeleteParameterRequest) String() stringDeleteParameterVersionRequest
type DeleteParameterVersionRequest struct {
// Required. Name of the resource in the format
// `projects/*/locations/*/parameters/*/versions/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a ParameterVersion
func (*DeleteParameterVersionRequest) Descriptor
func (*DeleteParameterVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteParameterVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteParameterVersionRequest) GetName
func (x *DeleteParameterVersionRequest) GetName() stringfunc (*DeleteParameterVersionRequest) GetRequestId
func (x *DeleteParameterVersionRequest) GetRequestId() stringfunc (*DeleteParameterVersionRequest) ProtoMessage
func (*DeleteParameterVersionRequest) ProtoMessage()func (*DeleteParameterVersionRequest) ProtoReflect
func (x *DeleteParameterVersionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteParameterVersionRequest) Reset
func (x *DeleteParameterVersionRequest) Reset()func (*DeleteParameterVersionRequest) String
func (x *DeleteParameterVersionRequest) String() stringDeleteTemplateRequest
type DeleteTemplateRequest struct {
// Required. Name of the resource in the format
// `projects/*/locations/*/templates/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a Template
func (*DeleteTemplateRequest) Descriptor
func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteTemplateRequest) GetName
func (x *DeleteTemplateRequest) GetName() stringfunc (*DeleteTemplateRequest) GetRequestId
func (x *DeleteTemplateRequest) GetRequestId() stringfunc (*DeleteTemplateRequest) ProtoMessage
func (*DeleteTemplateRequest) ProtoMessage()func (*DeleteTemplateRequest) ProtoReflect
func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTemplateRequest) Reset
func (x *DeleteTemplateRequest) Reset()func (*DeleteTemplateRequest) String
func (x *DeleteTemplateRequest) String() stringDeleteTemplateVersionRequest
type DeleteTemplateVersionRequest struct {
// Required. Name of the resource in the format
// `projects/*/locations/*/templates/*/versions/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a TemplateVersion
func (*DeleteTemplateVersionRequest) Descriptor
func (*DeleteTemplateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTemplateVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteTemplateVersionRequest) GetName
func (x *DeleteTemplateVersionRequest) GetName() stringfunc (*DeleteTemplateVersionRequest) GetRequestId
func (x *DeleteTemplateVersionRequest) GetRequestId() stringfunc (*DeleteTemplateVersionRequest) ProtoMessage
func (*DeleteTemplateVersionRequest) ProtoMessage()func (*DeleteTemplateVersionRequest) ProtoReflect
func (x *DeleteTemplateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTemplateVersionRequest) Reset
func (x *DeleteTemplateVersionRequest) Reset()func (*DeleteTemplateVersionRequest) String
func (x *DeleteTemplateVersionRequest) String() stringGetParameterRequest
type GetParameterRequest struct {
// Required. Name of the resource in the format
// `projects/*/locations/*/parameters/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Parameter
func (*GetParameterRequest) Descriptor
func (*GetParameterRequest) Descriptor() ([]byte, []int)Deprecated: Use GetParameterRequest.ProtoReflect.Descriptor instead.
func (*GetParameterRequest) GetName
func (x *GetParameterRequest) GetName() stringfunc (*GetParameterRequest) ProtoMessage
func (*GetParameterRequest) ProtoMessage()func (*GetParameterRequest) ProtoReflect
func (x *GetParameterRequest) ProtoReflect() protoreflect.Messagefunc (*GetParameterRequest) Reset
func (x *GetParameterRequest) Reset()func (*GetParameterRequest) String
func (x *GetParameterRequest) String() stringGetParameterVersionRequest
type GetParameterVersionRequest struct {
// Required. Name of the resource in the format
// `projects/*/locations/*/parameters/*/versions/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. View of the ParameterVersion.
// In the default FULL view, all metadata & payload associated with the
// ParameterVersion will be returned.
View View `protobuf:"varint,6,opt,name=view,proto3,enum=google.cloud.parametermanager.v1.View" json:"view,omitempty"`
// contains filtered or unexported fields
}Message for getting a ParameterVersion
func (*GetParameterVersionRequest) Descriptor
func (*GetParameterVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetParameterVersionRequest.ProtoReflect.Descriptor instead.
func (*GetParameterVersionRequest) GetName
func (x *GetParameterVersionRequest) GetName() stringfunc (*GetParameterVersionRequest) GetView
func (x *GetParameterVersionRequest) GetView() Viewfunc (*GetParameterVersionRequest) ProtoMessage
func (*GetParameterVersionRequest) ProtoMessage()func (*GetParameterVersionRequest) ProtoReflect
func (x *GetParameterVersionRequest) ProtoReflect() protoreflect.Messagefunc (*GetParameterVersionRequest) Reset
func (x *GetParameterVersionRequest) Reset()func (*GetParameterVersionRequest) String
func (x *GetParameterVersionRequest) String() stringGetTemplateRequest
type GetTemplateRequest struct {
// Required. Name of the resource in the format
// `projects/*/locations/*/templates/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Template
func (*GetTemplateRequest) Descriptor
func (*GetTemplateRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateRequest) GetName
func (x *GetTemplateRequest) GetName() stringfunc (*GetTemplateRequest) ProtoMessage
func (*GetTemplateRequest) ProtoMessage()func (*GetTemplateRequest) ProtoReflect
func (x *GetTemplateRequest) ProtoReflect() protoreflect.Messagefunc (*GetTemplateRequest) Reset
func (x *GetTemplateRequest) Reset()func (*GetTemplateRequest) String
func (x *GetTemplateRequest) String() stringGetTemplateVersionRequest
type GetTemplateVersionRequest struct {
// Required. Name of the resource in the format
// `projects/*/locations/*/templates/*/versions/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Specifies the view of the TemplateVersion to return.
// In the default FULL view, all metadata & payload associated with the
// TemplateVersion will be returned.
View View `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.parametermanager.v1.View" json:"view,omitempty"`
// contains filtered or unexported fields
}Message for getting a TemplateVersion
func (*GetTemplateVersionRequest) Descriptor
func (*GetTemplateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTemplateVersionRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateVersionRequest) GetName
func (x *GetTemplateVersionRequest) GetName() stringfunc (*GetTemplateVersionRequest) GetView
func (x *GetTemplateVersionRequest) GetView() Viewfunc (*GetTemplateVersionRequest) ProtoMessage
func (*GetTemplateVersionRequest) ProtoMessage()func (*GetTemplateVersionRequest) ProtoReflect
func (x *GetTemplateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*GetTemplateVersionRequest) Reset
func (x *GetTemplateVersionRequest) Reset()func (*GetTemplateVersionRequest) String
func (x *GetTemplateVersionRequest) String() stringListParameterVersionsRequest
type ListParameterVersionsRequest struct {
// Required. Parent value for ListParameterVersionsRequest in the format
// `projects/*/locations/*/parameters/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListParameterVersions`
// call. Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListParameterVersions`
// 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. Filtering results
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
}Message for requesting list of ParameterVersions
func (*ListParameterVersionsRequest) Descriptor
func (*ListParameterVersionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListParameterVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListParameterVersionsRequest) GetFilter
func (x *ListParameterVersionsRequest) GetFilter() stringfunc (*ListParameterVersionsRequest) GetOrderBy
func (x *ListParameterVersionsRequest) GetOrderBy() stringfunc (*ListParameterVersionsRequest) GetPageSize
func (x *ListParameterVersionsRequest) GetPageSize() int32func (*ListParameterVersionsRequest) GetPageToken
func (x *ListParameterVersionsRequest) GetPageToken() stringfunc (*ListParameterVersionsRequest) GetParent
func (x *ListParameterVersionsRequest) GetParent() stringfunc (*ListParameterVersionsRequest) ProtoMessage
func (*ListParameterVersionsRequest) ProtoMessage()func (*ListParameterVersionsRequest) ProtoReflect
func (x *ListParameterVersionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListParameterVersionsRequest) Reset
func (x *ListParameterVersionsRequest) Reset()func (*ListParameterVersionsRequest) String
func (x *ListParameterVersionsRequest) String() stringListParameterVersionsResponse
type ListParameterVersionsResponse struct {
// The list of ParameterVersions
ParameterVersions []*ParameterVersion `protobuf:"bytes,1,rep,name=parameter_versions,json=parameterVersions,proto3" json:"parameter_versions,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unordered list. Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing ParameterVersions
func (*ListParameterVersionsResponse) Descriptor
func (*ListParameterVersionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListParameterVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListParameterVersionsResponse) GetNextPageToken
func (x *ListParameterVersionsResponse) GetNextPageToken() stringfunc (*ListParameterVersionsResponse) GetParameterVersions
func (x *ListParameterVersionsResponse) GetParameterVersions() []*ParameterVersionfunc (*ListParameterVersionsResponse) GetUnreachable
func (x *ListParameterVersionsResponse) GetUnreachable() []stringfunc (*ListParameterVersionsResponse) ProtoMessage
func (*ListParameterVersionsResponse) ProtoMessage()func (*ListParameterVersionsResponse) ProtoReflect
func (x *ListParameterVersionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListParameterVersionsResponse) Reset
func (x *ListParameterVersionsResponse) Reset()func (*ListParameterVersionsResponse) String
func (x *ListParameterVersionsResponse) String() stringListParametersRequest
type ListParametersRequest struct {
// Required. Parent value for ListParametersRequest in the format
// `projects/*/locations/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListParameters` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListParameters` 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. Filtering results
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
}Message for requesting list of Parameters
func (*ListParametersRequest) Descriptor
func (*ListParametersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListParametersRequest.ProtoReflect.Descriptor instead.
func (*ListParametersRequest) GetFilter
func (x *ListParametersRequest) GetFilter() stringfunc (*ListParametersRequest) GetOrderBy
func (x *ListParametersRequest) GetOrderBy() stringfunc (*ListParametersRequest) GetPageSize
func (x *ListParametersRequest) GetPageSize() int32func (*ListParametersRequest) GetPageToken
func (x *ListParametersRequest) GetPageToken() stringfunc (*ListParametersRequest) GetParent
func (x *ListParametersRequest) GetParent() stringfunc (*ListParametersRequest) ProtoMessage
func (*ListParametersRequest) ProtoMessage()func (*ListParametersRequest) ProtoReflect
func (x *ListParametersRequest) ProtoReflect() protoreflect.Messagefunc (*ListParametersRequest) Reset
func (x *ListParametersRequest) Reset()func (*ListParametersRequest) String
func (x *ListParametersRequest) String() stringListParametersResponse
type ListParametersResponse struct {
// The list of Parameters
Parameters []*Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unordered list. Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Parameters
func (*ListParametersResponse) Descriptor
func (*ListParametersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListParametersResponse.ProtoReflect.Descriptor instead.
func (*ListParametersResponse) GetNextPageToken
func (x *ListParametersResponse) GetNextPageToken() stringfunc (*ListParametersResponse) GetParameters
func (x *ListParametersResponse) GetParameters() []*Parameterfunc (*ListParametersResponse) GetUnreachable
func (x *ListParametersResponse) GetUnreachable() []stringfunc (*ListParametersResponse) ProtoMessage
func (*ListParametersResponse) ProtoMessage()func (*ListParametersResponse) ProtoReflect
func (x *ListParametersResponse) ProtoReflect() protoreflect.Messagefunc (*ListParametersResponse) Reset
func (x *ListParametersResponse) Reset()func (*ListParametersResponse) String
func (x *ListParametersResponse) String() stringListTemplateVersionsRequest
type ListTemplateVersionsRequest struct {
// Required. Parent value for ListTemplateVersionsRequest in the format
// `projects/*/locations/*/templates/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListTemplateVersions`
// call. Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListTemplateVersions`
// 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. Filtering results
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
}Message for requesting list of TemplateVersions
func (*ListTemplateVersionsRequest) Descriptor
func (*ListTemplateVersionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTemplateVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListTemplateVersionsRequest) GetFilter
func (x *ListTemplateVersionsRequest) GetFilter() stringfunc (*ListTemplateVersionsRequest) GetOrderBy
func (x *ListTemplateVersionsRequest) GetOrderBy() stringfunc (*ListTemplateVersionsRequest) GetPageSize
func (x *ListTemplateVersionsRequest) GetPageSize() int32func (*ListTemplateVersionsRequest) GetPageToken
func (x *ListTemplateVersionsRequest) GetPageToken() stringfunc (*ListTemplateVersionsRequest) GetParent
func (x *ListTemplateVersionsRequest) GetParent() stringfunc (*ListTemplateVersionsRequest) ProtoMessage
func (*ListTemplateVersionsRequest) ProtoMessage()func (*ListTemplateVersionsRequest) ProtoReflect
func (x *ListTemplateVersionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTemplateVersionsRequest) Reset
func (x *ListTemplateVersionsRequest) Reset()func (*ListTemplateVersionsRequest) String
func (x *ListTemplateVersionsRequest) String() stringListTemplateVersionsResponse
type ListTemplateVersionsResponse struct {
// The list of TemplateVersions
TemplateVersions []*TemplateVersion `protobuf:"bytes,1,rep,name=template_versions,json=templateVersions,proto3" json:"template_versions,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unordered list. Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing TemplateVersions
func (*ListTemplateVersionsResponse) Descriptor
func (*ListTemplateVersionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTemplateVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListTemplateVersionsResponse) GetNextPageToken
func (x *ListTemplateVersionsResponse) GetNextPageToken() stringfunc (*ListTemplateVersionsResponse) GetTemplateVersions
func (x *ListTemplateVersionsResponse) GetTemplateVersions() []*TemplateVersionfunc (*ListTemplateVersionsResponse) GetUnreachable
func (x *ListTemplateVersionsResponse) GetUnreachable() []stringfunc (*ListTemplateVersionsResponse) ProtoMessage
func (*ListTemplateVersionsResponse) ProtoMessage()func (*ListTemplateVersionsResponse) ProtoReflect
func (x *ListTemplateVersionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTemplateVersionsResponse) Reset
func (x *ListTemplateVersionsResponse) Reset()func (*ListTemplateVersionsResponse) String
func (x *ListTemplateVersionsResponse) String() stringListTemplatesRequest
type ListTemplatesRequest struct {
// Required. Parent value for ListTemplatesRequest in the format
// `projects/*/locations/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListTemplates` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListTemplates` 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. Filtering results
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
}Message for requesting list of Templates
func (*ListTemplatesRequest) Descriptor
func (*ListTemplatesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListTemplatesRequest) GetFilter
func (x *ListTemplatesRequest) GetFilter() stringfunc (*ListTemplatesRequest) GetOrderBy
func (x *ListTemplatesRequest) GetOrderBy() stringfunc (*ListTemplatesRequest) GetPageSize
func (x *ListTemplatesRequest) GetPageSize() int32func (*ListTemplatesRequest) GetPageToken
func (x *ListTemplatesRequest) GetPageToken() stringfunc (*ListTemplatesRequest) GetParent
func (x *ListTemplatesRequest) GetParent() stringfunc (*ListTemplatesRequest) ProtoMessage
func (*ListTemplatesRequest) ProtoMessage()func (*ListTemplatesRequest) ProtoReflect
func (x *ListTemplatesRequest) ProtoReflect() protoreflect.Messagefunc (*ListTemplatesRequest) Reset
func (x *ListTemplatesRequest) Reset()func (*ListTemplatesRequest) String
func (x *ListTemplatesRequest) String() stringListTemplatesResponse
type ListTemplatesResponse struct {
// The list of Templates
Templates []*Template `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unordered list. Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Templates
func (*ListTemplatesResponse) Descriptor
func (*ListTemplatesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListTemplatesResponse) GetNextPageToken
func (x *ListTemplatesResponse) GetNextPageToken() stringfunc (*ListTemplatesResponse) GetTemplates
func (x *ListTemplatesResponse) GetTemplates() []*Templatefunc (*ListTemplatesResponse) GetUnreachable
func (x *ListTemplatesResponse) GetUnreachable() []stringfunc (*ListTemplatesResponse) ProtoMessage
func (*ListTemplatesResponse) ProtoMessage()func (*ListTemplatesResponse) ProtoReflect
func (x *ListTemplatesResponse) ProtoReflect() protoreflect.Messagefunc (*ListTemplatesResponse) Reset
func (x *ListTemplatesResponse) Reset()func (*ListTemplatesResponse) String
func (x *ListTemplatesResponse) String() stringParameter
type Parameter struct {
// Identifier. [Output only] The resource name of the Parameter in the format
// `projects/*/locations/*/parameters/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. [Output only] Create time stamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Update time stamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Labels as key value pairs
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Specifies the format of a Parameter.
Format ParameterFormat `protobuf:"varint,5,opt,name=format,proto3,enum=google.cloud.parametermanager.v1.ParameterFormat" json:"format,omitempty"`
// Output only. [Output-only] policy member strings of a Google Cloud
// resource.
PolicyMember *iampb.ResourcePolicyMember `protobuf:"bytes,6,opt,name=policy_member,json=policyMember,proto3" json:"policy_member,omitempty"`
// Optional. Customer managed encryption key (CMEK) to use for encrypting the
// Parameter Versions. If not set, the default Google-managed encryption key
// will be used. Cloud KMS CryptoKeys must reside in the same location as the
// Parameter. The expected format is
// `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
KmsKey *string `protobuf:"bytes,7,opt,name=kms_key,json=kmsKey,proto3,oneof" json:"kms_key,omitempty"`
// Optional. Input only. Immutable. Tag keys and tag values that are bound to
// this Parameter. You must represent each item in the map as:
// `"Message describing Parameter resource
func (*Parameter) Descriptor
Deprecated: Use Parameter.ProtoReflect.Descriptor instead.
func (*Parameter) GetCreateTime
func (x *Parameter) GetCreateTime() *timestamppb.Timestampfunc (*Parameter) GetFormat
func (x *Parameter) GetFormat() ParameterFormatfunc (*Parameter) GetKmsKey
func (*Parameter) GetLabels
func (*Parameter) GetName
func (*Parameter) GetPolicyMember
func (x *Parameter) GetPolicyMember() *iampb.ResourcePolicyMemberfunc (*Parameter) GetTags
func (*Parameter) GetUpdateTime
func (x *Parameter) GetUpdateTime() *timestamppb.Timestampfunc (*Parameter) ProtoMessage
func (*Parameter) ProtoMessage()func (*Parameter) ProtoReflect
func (x *Parameter) ProtoReflect() protoreflect.Messagefunc (*Parameter) Reset
func (x *Parameter) Reset()func (*Parameter) String
ParameterFormat
type ParameterFormat int32Option to specify the format of a Parameter resource (UNFORMATTED / YAML / JSON). This option is user specified at the time of creation of the resource and is immutable.
ParameterFormat_PARAMETER_FORMAT_UNSPECIFIED, ParameterFormat_UNFORMATTED, ParameterFormat_YAML, ParameterFormat_JSON
const (
// The default / unset value.
// The API will default to the UNFORMATTED format.
ParameterFormat_PARAMETER_FORMAT_UNSPECIFIED ParameterFormat = 0
// Unformatted.
ParameterFormat_UNFORMATTED ParameterFormat = 1
// YAML format.
ParameterFormat_YAML ParameterFormat = 2
// JSON format.
ParameterFormat_JSON ParameterFormat = 3
)func (ParameterFormat) Descriptor
func (ParameterFormat) Descriptor() protoreflect.EnumDescriptorfunc (ParameterFormat) Enum
func (x ParameterFormat) Enum() *ParameterFormatfunc (ParameterFormat) EnumDescriptor
func (ParameterFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use ParameterFormat.Descriptor instead.
func (ParameterFormat) Number
func (x ParameterFormat) Number() protoreflect.EnumNumberfunc (ParameterFormat) String
func (x ParameterFormat) String() stringfunc (ParameterFormat) Type
func (ParameterFormat) Type() protoreflect.EnumTypeParameterManagerClient
type ParameterManagerClient interface {
// Lists Parameters in a given project and location.
ListParameters(ctx context.Context, in *ListParametersRequest, opts ...grpc.CallOption) (*ListParametersResponse, error)
// Gets details of a single Parameter.
GetParameter(ctx context.Context, in *GetParameterRequest, opts ...grpc.CallOption) (*Parameter, error)
// Creates a new Parameter in a given project and location.
CreateParameter(ctx context.Context, in *CreateParameterRequest, opts ...grpc.CallOption) (*Parameter, error)
// Updates a single Parameter.
UpdateParameter(ctx context.Context, in *UpdateParameterRequest, opts ...grpc.CallOption) (*Parameter, error)
// Deletes a single Parameter.
DeleteParameter(ctx context.Context, in *DeleteParameterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists ParameterVersions in a given project, location, and parameter.
ListParameterVersions(ctx context.Context, in *ListParameterVersionsRequest, opts ...grpc.CallOption) (*ListParameterVersionsResponse, error)
// Gets details of a single ParameterVersion.
GetParameterVersion(ctx context.Context, in *GetParameterVersionRequest, opts ...grpc.CallOption) (*ParameterVersion, error)
// Gets rendered version of a ParameterVersion.
RenderParameterVersion(ctx context.Context, in *RenderParameterVersionRequest, opts ...grpc.CallOption) (*RenderParameterVersionResponse, error)
// Creates a new ParameterVersion in a given project, location, and parameter.
CreateParameterVersion(ctx context.Context, in *CreateParameterVersionRequest, opts ...grpc.CallOption) (*ParameterVersion, error)
// Updates a single ParameterVersion.
UpdateParameterVersion(ctx context.Context, in *UpdateParameterVersionRequest, opts ...grpc.CallOption) (*ParameterVersion, error)
// Deletes a single ParameterVersion.
DeleteParameterVersion(ctx context.Context, in *DeleteParameterVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists Templates in a given project and location.
ListTemplates(ctx context.Context, in *ListTemplatesRequest, opts ...grpc.CallOption) (*ListTemplatesResponse, error)
// Gets details of a single Template.
GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*Template, error)
// Creates a new Template in a given project and location.
CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...grpc.CallOption) (*Template, error)
// Updates a single Template.
UpdateTemplate(ctx context.Context, in *UpdateTemplateRequest, opts ...grpc.CallOption) (*Template, error)
// Deletes a single Template.
DeleteTemplate(ctx context.Context, in *DeleteTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists TemplateVersions in a given project, location, and template.
ListTemplateVersions(ctx context.Context, in *ListTemplateVersionsRequest, opts ...grpc.CallOption) (*ListTemplateVersionsResponse, error)
// Gets details of a single TemplateVersion.
GetTemplateVersion(ctx context.Context, in *GetTemplateVersionRequest, opts ...grpc.CallOption) (*TemplateVersion, error)
// Creates a new TemplateVersion in a given project, location, and template.
CreateTemplateVersion(ctx context.Context, in *CreateTemplateVersionRequest, opts ...grpc.CallOption) (*TemplateVersion, error)
// Updates a single TemplateVersion.
UpdateTemplateVersion(ctx context.Context, in *UpdateTemplateVersionRequest, opts ...grpc.CallOption) (*TemplateVersion, error)
// Deletes a single TemplateVersion.
DeleteTemplateVersion(ctx context.Context, in *DeleteTemplateVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Gets rendered version of a TemplateVersion.
RenderTemplateVersion(ctx context.Context, in *RenderTemplateVersionRequest, opts ...grpc.CallOption) (*RenderTemplateVersionResponse, error)
}ParameterManagerClient is the client API for ParameterManager 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 NewParameterManagerClient
func NewParameterManagerClient(cc grpc.ClientConnInterface) ParameterManagerClientParameterManagerServer
type ParameterManagerServer interface {
// Lists Parameters in a given project and location.
ListParameters(context.Context, *ListParametersRequest) (*ListParametersResponse, error)
// Gets details of a single Parameter.
GetParameter(context.Context, *GetParameterRequest) (*Parameter, error)
// Creates a new Parameter in a given project and location.
CreateParameter(context.Context, *CreateParameterRequest) (*Parameter, error)
// Updates a single Parameter.
UpdateParameter(context.Context, *UpdateParameterRequest) (*Parameter, error)
// Deletes a single Parameter.
DeleteParameter(context.Context, *DeleteParameterRequest) (*emptypb.Empty, error)
// Lists ParameterVersions in a given project, location, and parameter.
ListParameterVersions(context.Context, *ListParameterVersionsRequest) (*ListParameterVersionsResponse, error)
// Gets details of a single ParameterVersion.
GetParameterVersion(context.Context, *GetParameterVersionRequest) (*ParameterVersion, error)
// Gets rendered version of a ParameterVersion.
RenderParameterVersion(context.Context, *RenderParameterVersionRequest) (*RenderParameterVersionResponse, error)
// Creates a new ParameterVersion in a given project, location, and parameter.
CreateParameterVersion(context.Context, *CreateParameterVersionRequest) (*ParameterVersion, error)
// Updates a single ParameterVersion.
UpdateParameterVersion(context.Context, *UpdateParameterVersionRequest) (*ParameterVersion, error)
// Deletes a single ParameterVersion.
DeleteParameterVersion(context.Context, *DeleteParameterVersionRequest) (*emptypb.Empty, error)
// Lists Templates in a given project and location.
ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
// Gets details of a single Template.
GetTemplate(context.Context, *GetTemplateRequest) (*Template, error)
// Creates a new Template in a given project and location.
CreateTemplate(context.Context, *CreateTemplateRequest) (*Template, error)
// Updates a single Template.
UpdateTemplate(context.Context, *UpdateTemplateRequest) (*Template, error)
// Deletes a single Template.
DeleteTemplate(context.Context, *DeleteTemplateRequest) (*emptypb.Empty, error)
// Lists TemplateVersions in a given project, location, and template.
ListTemplateVersions(context.Context, *ListTemplateVersionsRequest) (*ListTemplateVersionsResponse, error)
// Gets details of a single TemplateVersion.
GetTemplateVersion(context.Context, *GetTemplateVersionRequest) (*TemplateVersion, error)
// Creates a new TemplateVersion in a given project, location, and template.
CreateTemplateVersion(context.Context, *CreateTemplateVersionRequest) (*TemplateVersion, error)
// Updates a single TemplateVersion.
UpdateTemplateVersion(context.Context, *UpdateTemplateVersionRequest) (*TemplateVersion, error)
// Deletes a single TemplateVersion.
DeleteTemplateVersion(context.Context, *DeleteTemplateVersionRequest) (*emptypb.Empty, error)
// Gets rendered version of a TemplateVersion.
RenderTemplateVersion(context.Context, *RenderTemplateVersionRequest) (*RenderTemplateVersionResponse, error)
}ParameterManagerServer is the server API for ParameterManager service. All implementations should embed UnimplementedParameterManagerServer for forward compatibility
ParameterVersion
type ParameterVersion struct {
// Identifier. [Output only] The resource name of the ParameterVersion in the
// format `projects/*/locations/*/parameters/*/versions/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. [Output only] Create time stamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Update time stamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Disabled boolean to determine if a ParameterVersion acts as a
// metadata only resource (payload is never returned if disabled is true). If
// true any calls will always default to BASIC view even if the user
// explicitly passes FULL view as part of the request. A render call on a
// disabled resource fails with an error. Default value is False.
Disabled bool `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Required. Immutable. Payload content of a ParameterVersion resource. This
// is only returned when the request provides the View value of FULL (default
// for GET request).
Payload *ParameterVersionPayload `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
// Optional. Output only. [Output only] The resource name of the KMS key
// version used to encrypt the ParameterVersion payload. This field is
// populated only if the Parameter resource has customer managed encryption
// key (CMEK) configured.
KmsKeyVersion *string `protobuf:"bytes,6,opt,name=kms_key_version,json=kmsKeyVersion,proto3,oneof" json:"kms_key_version,omitempty"`
// Optional. Output only. [Output only] The source of the checksum.
ChecksumSource *ParameterVersion_ChecksumSource `protobuf:"varint,7,opt,name=checksum_source,json=checksumSource,proto3,enum=google.cloud.parametermanager.v1.ParameterVersion_ChecksumSource,oneof" json:"checksum_source,omitempty"`
// contains filtered or unexported fields
}Message describing ParameterVersion resource
func (*ParameterVersion) Descriptor
func (*ParameterVersion) Descriptor() ([]byte, []int)Deprecated: Use ParameterVersion.ProtoReflect.Descriptor instead.
func (*ParameterVersion) GetChecksumSource
func (x *ParameterVersion) GetChecksumSource() ParameterVersion_ChecksumSourcefunc (*ParameterVersion) GetCreateTime
func (x *ParameterVersion) GetCreateTime() *timestamppb.Timestampfunc (*ParameterVersion) GetDisabled
func (x *ParameterVersion) GetDisabled() boolfunc (*ParameterVersion) GetKmsKeyVersion
func (x *ParameterVersion) GetKmsKeyVersion() stringfunc (*ParameterVersion) GetName
func (x *ParameterVersion) GetName() stringfunc (*ParameterVersion) GetPayload
func (x *ParameterVersion) GetPayload() *ParameterVersionPayloadfunc (*ParameterVersion) GetUpdateTime
func (x *ParameterVersion) GetUpdateTime() *timestamppb.Timestampfunc (*ParameterVersion) ProtoMessage
func (*ParameterVersion) ProtoMessage()func (*ParameterVersion) ProtoReflect
func (x *ParameterVersion) ProtoReflect() protoreflect.Messagefunc (*ParameterVersion) Reset
func (x *ParameterVersion) Reset()func (*ParameterVersion) String
func (x *ParameterVersion) String() stringParameterVersionPayload
type ParameterVersionPayload struct {
// Required. bytes data for storing payload.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// Optional. [Optional] The integrity checksum of the payload.
// If provided, the server will verify that the checksum matches the payload.
// If not provided, the server will generate the checksum.
DataCrc32C *int64 `protobuf:"varint,3,opt,name=data_crc32c,json=dataCrc32c,proto3,oneof" json:"data_crc32c,omitempty"`
// contains filtered or unexported fields
}Message for storing a ParameterVersion resource's payload data
func (*ParameterVersionPayload) Descriptor
func (*ParameterVersionPayload) Descriptor() ([]byte, []int)Deprecated: Use ParameterVersionPayload.ProtoReflect.Descriptor instead.
func (*ParameterVersionPayload) GetData
func (x *ParameterVersionPayload) GetData() []bytefunc (*ParameterVersionPayload) GetDataCrc32C
func (x *ParameterVersionPayload) GetDataCrc32C() int64func (*ParameterVersionPayload) ProtoMessage
func (*ParameterVersionPayload) ProtoMessage()func (*ParameterVersionPayload) ProtoReflect
func (x *ParameterVersionPayload) ProtoReflect() protoreflect.Messagefunc (*ParameterVersionPayload) Reset
func (x *ParameterVersionPayload) Reset()func (*ParameterVersionPayload) String
func (x *ParameterVersionPayload) String() stringParameterVersion_ChecksumSource
type ParameterVersion_ChecksumSource int32The source of the checksum.
ParameterVersion_CHECKSUM_SOURCE_UNSPECIFIED, ParameterVersion_SERVER_GENERATED, ParameterVersion_USER_SPECIFIED
const (
// The default / unset value.
ParameterVersion_CHECKSUM_SOURCE_UNSPECIFIED ParameterVersion_ChecksumSource = 0
// The checksum was generated by the server.
ParameterVersion_SERVER_GENERATED ParameterVersion_ChecksumSource = 1
// The checksum was provided by the user.
ParameterVersion_USER_SPECIFIED ParameterVersion_ChecksumSource = 2
)func (ParameterVersion_ChecksumSource) Descriptor
func (ParameterVersion_ChecksumSource) Descriptor() protoreflect.EnumDescriptorfunc (ParameterVersion_ChecksumSource) Enum
func (x ParameterVersion_ChecksumSource) Enum() *ParameterVersion_ChecksumSourcefunc (ParameterVersion_ChecksumSource) EnumDescriptor
func (ParameterVersion_ChecksumSource) EnumDescriptor() ([]byte, []int)Deprecated: Use ParameterVersion_ChecksumSource.Descriptor instead.
func (ParameterVersion_ChecksumSource) Number
func (x ParameterVersion_ChecksumSource) Number() protoreflect.EnumNumberfunc (ParameterVersion_ChecksumSource) String
func (x ParameterVersion_ChecksumSource) String() stringfunc (ParameterVersion_ChecksumSource) Type
func (ParameterVersion_ChecksumSource) Type() protoreflect.EnumTypeRenderParameterVersionRequest
type RenderParameterVersionRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a ParameterVersionRender
func (*RenderParameterVersionRequest) Descriptor
func (*RenderParameterVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use RenderParameterVersionRequest.ProtoReflect.Descriptor instead.
func (*RenderParameterVersionRequest) GetName
func (x *RenderParameterVersionRequest) GetName() stringfunc (*RenderParameterVersionRequest) ProtoMessage
func (*RenderParameterVersionRequest) ProtoMessage()func (*RenderParameterVersionRequest) ProtoReflect
func (x *RenderParameterVersionRequest) ProtoReflect() protoreflect.Messagefunc (*RenderParameterVersionRequest) Reset
func (x *RenderParameterVersionRequest) Reset()func (*RenderParameterVersionRequest) String
func (x *RenderParameterVersionRequest) String() stringRenderParameterVersionResponse
type RenderParameterVersionResponse struct {
// Output only. Resource identifier of a ParameterVersion in the format
// `projects/*/locations/*/parameters/*/versions/*`.
ParameterVersion string `protobuf:"bytes,1,opt,name=parameter_version,json=parameterVersion,proto3" json:"parameter_version,omitempty"`
// Payload content of a ParameterVersion resource.
Payload *ParameterVersionPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
// Output only. Server generated rendered version of the user provided payload
// data (ParameterVersionPayload) which has substitutions of all (if any)
// references to a SecretManager SecretVersion resources. This substitution
// only works for a Parameter which is in JSON or YAML format.
RenderedPayload []byte `protobuf:"bytes,3,opt,name=rendered_payload,json=renderedPayload,proto3" json:"rendered_payload,omitempty"`
// contains filtered or unexported fields
}Message describing RenderParameterVersionResponse resource
func (*RenderParameterVersionResponse) Descriptor
func (*RenderParameterVersionResponse) Descriptor() ([]byte, []int)Deprecated: Use RenderParameterVersionResponse.ProtoReflect.Descriptor instead.
func (*RenderParameterVersionResponse) GetParameterVersion
func (x *RenderParameterVersionResponse) GetParameterVersion() stringfunc (*RenderParameterVersionResponse) GetPayload
func (x *RenderParameterVersionResponse) GetPayload() *ParameterVersionPayloadfunc (*RenderParameterVersionResponse) GetRenderedPayload
func (x *RenderParameterVersionResponse) GetRenderedPayload() []bytefunc (*RenderParameterVersionResponse) ProtoMessage
func (*RenderParameterVersionResponse) ProtoMessage()func (*RenderParameterVersionResponse) ProtoReflect
func (x *RenderParameterVersionResponse) ProtoReflect() protoreflect.Messagefunc (*RenderParameterVersionResponse) Reset
func (x *RenderParameterVersionResponse) Reset()func (*RenderParameterVersionResponse) String
func (x *RenderParameterVersionResponse) String() stringRenderTemplateVersionRequest
type RenderTemplateVersionRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Parameter version used to render the template version.
ParameterVersion string `protobuf:"bytes,2,opt,name=parameter_version,json=parameterVersion,proto3" json:"parameter_version,omitempty"`
// contains filtered or unexported fields
}Message describing RenderTemplateVersionRequest resource
func (*RenderTemplateVersionRequest) Descriptor
func (*RenderTemplateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use RenderTemplateVersionRequest.ProtoReflect.Descriptor instead.
func (*RenderTemplateVersionRequest) GetName
func (x *RenderTemplateVersionRequest) GetName() stringfunc (*RenderTemplateVersionRequest) GetParameterVersion
func (x *RenderTemplateVersionRequest) GetParameterVersion() stringfunc (*RenderTemplateVersionRequest) ProtoMessage
func (*RenderTemplateVersionRequest) ProtoMessage()func (*RenderTemplateVersionRequest) ProtoReflect
func (x *RenderTemplateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*RenderTemplateVersionRequest) Reset
func (x *RenderTemplateVersionRequest) Reset()func (*RenderTemplateVersionRequest) String
func (x *RenderTemplateVersionRequest) String() stringRenderTemplateVersionResponse
type RenderTemplateVersionResponse struct {
// Resource identifier of a TemplateVersion in the format
// `projects/*/locations/*/templates/*/versions/*`.
TemplateVersion string `protobuf:"bytes,1,opt,name=template_version,json=templateVersion,proto3" json:"template_version,omitempty"`
// Payload content of a TemplateVersion resource.
Payload *TemplateVersionPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
// Output only. Server generated rendered version of the user provided payload
// data (TemplateVersionPayload) which has all the variables resolved using
// the provided parameter version.
RenderedPayload []byte `protobuf:"bytes,3,opt,name=rendered_payload,json=renderedPayload,proto3" json:"rendered_payload,omitempty"`
// Output only. Format of the template version.
TemplateFormat TemplateFormat `protobuf:"varint,4,opt,name=template_format,json=templateFormat,proto3,enum=google.cloud.parametermanager.v1.TemplateFormat" json:"template_format,omitempty"`
// Output only. The resource name of the ParameterVersion used to render the
// template version in the format
// `projects/*/locations/*/parameters/*/versions/*`.
ParameterVersion string `protobuf:"bytes,5,opt,name=parameter_version,json=parameterVersion,proto3" json:"parameter_version,omitempty"`
// contains filtered or unexported fields
}Message describing RenderTemplateVersionResponse resource
func (*RenderTemplateVersionResponse) Descriptor
func (*RenderTemplateVersionResponse) Descriptor() ([]byte, []int)Deprecated: Use RenderTemplateVersionResponse.ProtoReflect.Descriptor instead.
func (*RenderTemplateVersionResponse) GetParameterVersion
func (x *RenderTemplateVersionResponse) GetParameterVersion() stringfunc (*RenderTemplateVersionResponse) GetPayload
func (x *RenderTemplateVersionResponse) GetPayload() *TemplateVersionPayloadfunc (*RenderTemplateVersionResponse) GetRenderedPayload
func (x *RenderTemplateVersionResponse) GetRenderedPayload() []bytefunc (*RenderTemplateVersionResponse) GetTemplateFormat
func (x *RenderTemplateVersionResponse) GetTemplateFormat() TemplateFormatfunc (*RenderTemplateVersionResponse) GetTemplateVersion
func (x *RenderTemplateVersionResponse) GetTemplateVersion() stringfunc (*RenderTemplateVersionResponse) ProtoMessage
func (*RenderTemplateVersionResponse) ProtoMessage()func (*RenderTemplateVersionResponse) ProtoReflect
func (x *RenderTemplateVersionResponse) ProtoReflect() protoreflect.Messagefunc (*RenderTemplateVersionResponse) Reset
func (x *RenderTemplateVersionResponse) Reset()func (*RenderTemplateVersionResponse) String
func (x *RenderTemplateVersionResponse) String() stringTemplate
type Template struct {
// Identifier. The resource name of the Template in the format
// `projects/*/locations/*/templates/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Create time stamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update time stamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Labels as key value pairs
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Specifies the format of a Template.
Format TemplateFormat `protobuf:"varint,5,opt,name=format,proto3,enum=google.cloud.parametermanager.v1.TemplateFormat" json:"format,omitempty"`
// contains filtered or unexported fields
}Message describing Template resource
func (*Template) Descriptor
Deprecated: Use Template.ProtoReflect.Descriptor instead.
func (*Template) GetCreateTime
func (x *Template) GetCreateTime() *timestamppb.Timestampfunc (*Template) GetFormat
func (x *Template) GetFormat() TemplateFormatfunc (*Template) GetLabels
func (*Template) GetName
func (*Template) GetUpdateTime
func (x *Template) GetUpdateTime() *timestamppb.Timestampfunc (*Template) ProtoMessage
func (*Template) ProtoMessage()func (*Template) ProtoReflect
func (x *Template) ProtoReflect() protoreflect.Messagefunc (*Template) Reset
func (x *Template) Reset()func (*Template) String
TemplateFormat
type TemplateFormat int32Option to specify the format of a Template resource (YAML / JSON). This option is user specified at the time of creation of the resource and is immutable. Templates do not support the UNFORMATTED format. Additional values may be added in the future.
TemplateFormat_TEMPLATE_FORMAT_UNSPECIFIED, TemplateFormat_TEMPLATE_FORMAT_YAML, TemplateFormat_TEMPLATE_FORMAT_JSON
const (
// The default / unset value.
// The API will default to the YAML format.
TemplateFormat_TEMPLATE_FORMAT_UNSPECIFIED TemplateFormat = 0
// YAML format.
TemplateFormat_TEMPLATE_FORMAT_YAML TemplateFormat = 1
// JSON format.
TemplateFormat_TEMPLATE_FORMAT_JSON TemplateFormat = 2
)func (TemplateFormat) Descriptor
func (TemplateFormat) Descriptor() protoreflect.EnumDescriptorfunc (TemplateFormat) Enum
func (x TemplateFormat) Enum() *TemplateFormatfunc (TemplateFormat) EnumDescriptor
func (TemplateFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use TemplateFormat.Descriptor instead.
func (TemplateFormat) Number
func (x TemplateFormat) Number() protoreflect.EnumNumberfunc (TemplateFormat) String
func (x TemplateFormat) String() stringfunc (TemplateFormat) Type
func (TemplateFormat) Type() protoreflect.EnumTypeTemplateVersion
type TemplateVersion struct {
// Identifier. The resource name of the TemplateVersion in the format
// `projects/*/locations/*/templates/*/versions/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Create time stamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update time stamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Disabled boolean to determine if a TemplateVersion acts as a
// metadata only resource (payload is never returned if disabled is true).
Disabled bool `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Required. Immutable. Payload content of a TemplateVersion resource.
Payload *TemplateVersionPayload `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}Message describing TemplateVersion resource
func (*TemplateVersion) Descriptor
func (*TemplateVersion) Descriptor() ([]byte, []int)Deprecated: Use TemplateVersion.ProtoReflect.Descriptor instead.
func (*TemplateVersion) GetCreateTime
func (x *TemplateVersion) GetCreateTime() *timestamppb.Timestampfunc (*TemplateVersion) GetDisabled
func (x *TemplateVersion) GetDisabled() boolfunc (*TemplateVersion) GetName
func (x *TemplateVersion) GetName() stringfunc (*TemplateVersion) GetPayload
func (x *TemplateVersion) GetPayload() *TemplateVersionPayloadfunc (*TemplateVersion) GetUpdateTime
func (x *TemplateVersion) GetUpdateTime() *timestamppb.Timestampfunc (*TemplateVersion) ProtoMessage
func (*TemplateVersion) ProtoMessage()func (*TemplateVersion) ProtoReflect
func (x *TemplateVersion) ProtoReflect() protoreflect.Messagefunc (*TemplateVersion) Reset
func (x *TemplateVersion) Reset()func (*TemplateVersion) String
func (x *TemplateVersion) String() stringTemplateVersionPayload
type TemplateVersionPayload struct {
// Required. bytes data for storing payload.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}Message for storing a TemplateVersion resource's payload data
func (*TemplateVersionPayload) Descriptor
func (*TemplateVersionPayload) Descriptor() ([]byte, []int)Deprecated: Use TemplateVersionPayload.ProtoReflect.Descriptor instead.
func (*TemplateVersionPayload) GetData
func (x *TemplateVersionPayload) GetData() []bytefunc (*TemplateVersionPayload) ProtoMessage
func (*TemplateVersionPayload) ProtoMessage()func (*TemplateVersionPayload) ProtoReflect
func (x *TemplateVersionPayload) ProtoReflect() protoreflect.Messagefunc (*TemplateVersionPayload) Reset
func (x *TemplateVersionPayload) Reset()func (*TemplateVersionPayload) String
func (x *TemplateVersionPayload) String() stringUnimplementedParameterManagerServer
type UnimplementedParameterManagerServer struct {
}UnimplementedParameterManagerServer should be embedded to have forward compatible implementations.
func (UnimplementedParameterManagerServer) CreateParameter
func (UnimplementedParameterManagerServer) CreateParameter(context.Context, *CreateParameterRequest) (*Parameter, error)func (UnimplementedParameterManagerServer) CreateParameterVersion
func (UnimplementedParameterManagerServer) CreateParameterVersion(context.Context, *CreateParameterVersionRequest) (*ParameterVersion, error)func (UnimplementedParameterManagerServer) CreateTemplate
func (UnimplementedParameterManagerServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*Template, error)func (UnimplementedParameterManagerServer) CreateTemplateVersion
func (UnimplementedParameterManagerServer) CreateTemplateVersion(context.Context, *CreateTemplateVersionRequest) (*TemplateVersion, error)func (UnimplementedParameterManagerServer) DeleteParameter
func (UnimplementedParameterManagerServer) DeleteParameter(context.Context, *DeleteParameterRequest) (*emptypb.Empty, error)func (UnimplementedParameterManagerServer) DeleteParameterVersion
func (UnimplementedParameterManagerServer) DeleteParameterVersion(context.Context, *DeleteParameterVersionRequest) (*emptypb.Empty, error)func (UnimplementedParameterManagerServer) DeleteTemplate
func (UnimplementedParameterManagerServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*emptypb.Empty, error)func (UnimplementedParameterManagerServer) DeleteTemplateVersion
func (UnimplementedParameterManagerServer) DeleteTemplateVersion(context.Context, *DeleteTemplateVersionRequest) (*emptypb.Empty, error)func (UnimplementedParameterManagerServer) GetParameter
func (UnimplementedParameterManagerServer) GetParameter(context.Context, *GetParameterRequest) (*Parameter, error)func (UnimplementedParameterManagerServer) GetParameterVersion
func (UnimplementedParameterManagerServer) GetParameterVersion(context.Context, *GetParameterVersionRequest) (*ParameterVersion, error)func (UnimplementedParameterManagerServer) GetTemplate
func (UnimplementedParameterManagerServer) GetTemplate(context.Context, *GetTemplateRequest) (*Template, error)func (UnimplementedParameterManagerServer) GetTemplateVersion
func (UnimplementedParameterManagerServer) GetTemplateVersion(context.Context, *GetTemplateVersionRequest) (*TemplateVersion, error)func (UnimplementedParameterManagerServer) ListParameterVersions
func (UnimplementedParameterManagerServer) ListParameterVersions(context.Context, *ListParameterVersionsRequest) (*ListParameterVersionsResponse, error)func (UnimplementedParameterManagerServer) ListParameters
func (UnimplementedParameterManagerServer) ListParameters(context.Context, *ListParametersRequest) (*ListParametersResponse, error)func (UnimplementedParameterManagerServer) ListTemplateVersions
func (UnimplementedParameterManagerServer) ListTemplateVersions(context.Context, *ListTemplateVersionsRequest) (*ListTemplateVersionsResponse, error)func (UnimplementedParameterManagerServer) ListTemplates
func (UnimplementedParameterManagerServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)func (UnimplementedParameterManagerServer) RenderParameterVersion
func (UnimplementedParameterManagerServer) RenderParameterVersion(context.Context, *RenderParameterVersionRequest) (*RenderParameterVersionResponse, error)func (UnimplementedParameterManagerServer) RenderTemplateVersion
func (UnimplementedParameterManagerServer) RenderTemplateVersion(context.Context, *RenderTemplateVersionRequest) (*RenderTemplateVersionResponse, error)func (UnimplementedParameterManagerServer) UpdateParameter
func (UnimplementedParameterManagerServer) UpdateParameter(context.Context, *UpdateParameterRequest) (*Parameter, error)func (UnimplementedParameterManagerServer) UpdateParameterVersion
func (UnimplementedParameterManagerServer) UpdateParameterVersion(context.Context, *UpdateParameterVersionRequest) (*ParameterVersion, error)func (UnimplementedParameterManagerServer) UpdateTemplate
func (UnimplementedParameterManagerServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*Template, error)func (UnimplementedParameterManagerServer) UpdateTemplateVersion
func (UnimplementedParameterManagerServer) UpdateTemplateVersion(context.Context, *UpdateTemplateVersionRequest) (*TemplateVersion, error)UnsafeParameterManagerServer
type UnsafeParameterManagerServer interface {
// contains filtered or unexported methods
}UnsafeParameterManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParameterManagerServer will result in compilation errors.
UpdateParameterRequest
type UpdateParameterRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// Parameter resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A mutable field will be overwritten if it is in the
// mask. If the user does not provide a mask then all mutable fields present
// in the request will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The Parameter resource being updated
Parameter *Parameter `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a Parameter
func (*UpdateParameterRequest) Descriptor
func (*UpdateParameterRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateParameterRequest.ProtoReflect.Descriptor instead.
func (*UpdateParameterRequest) GetParameter
func (x *UpdateParameterRequest) GetParameter() *Parameterfunc (*UpdateParameterRequest) GetRequestId
func (x *UpdateParameterRequest) GetRequestId() stringfunc (*UpdateParameterRequest) GetUpdateMask
func (x *UpdateParameterRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateParameterRequest) ProtoMessage
func (*UpdateParameterRequest) ProtoMessage()func (*UpdateParameterRequest) ProtoReflect
func (x *UpdateParameterRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateParameterRequest) Reset
func (x *UpdateParameterRequest) Reset()func (*UpdateParameterRequest) String
func (x *UpdateParameterRequest) String() stringUpdateParameterVersionRequest
type UpdateParameterVersionRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// ParameterVersion resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A mutable field will be overwritten if it is in the
// mask. If the user does not provide a mask then all mutable fields present
// in the request will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The ParameterVersion resource being updated
ParameterVersion *ParameterVersion `protobuf:"bytes,2,opt,name=parameter_version,json=parameterVersion,proto3" json:"parameter_version,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a ParameterVersion
func (*UpdateParameterVersionRequest) Descriptor
func (*UpdateParameterVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateParameterVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateParameterVersionRequest) GetParameterVersion
func (x *UpdateParameterVersionRequest) GetParameterVersion() *ParameterVersionfunc (*UpdateParameterVersionRequest) GetRequestId
func (x *UpdateParameterVersionRequest) GetRequestId() stringfunc (*UpdateParameterVersionRequest) GetUpdateMask
func (x *UpdateParameterVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateParameterVersionRequest) ProtoMessage
func (*UpdateParameterVersionRequest) ProtoMessage()func (*UpdateParameterVersionRequest) ProtoReflect
func (x *UpdateParameterVersionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateParameterVersionRequest) Reset
func (x *UpdateParameterVersionRequest) Reset()func (*UpdateParameterVersionRequest) String
func (x *UpdateParameterVersionRequest) String() stringUpdateTemplateRequest
type UpdateTemplateRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// Template resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A mutable field will be overwritten if it is in the
// mask. If the user does not provide a mask then all mutable fields present
// in the request will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The Template resource being updated
Template *Template `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a Template
func (*UpdateTemplateRequest) Descriptor
func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateTemplateRequest) GetRequestId
func (x *UpdateTemplateRequest) GetRequestId() stringfunc (*UpdateTemplateRequest) GetTemplate
func (x *UpdateTemplateRequest) GetTemplate() *Templatefunc (*UpdateTemplateRequest) GetUpdateMask
func (x *UpdateTemplateRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTemplateRequest) ProtoMessage
func (*UpdateTemplateRequest) ProtoMessage()func (*UpdateTemplateRequest) ProtoReflect
func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTemplateRequest) Reset
func (x *UpdateTemplateRequest) Reset()func (*UpdateTemplateRequest) String
func (x *UpdateTemplateRequest) String() stringUpdateTemplateVersionRequest
type UpdateTemplateVersionRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// TemplateVersion resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A mutable field will be overwritten if it is in the
// mask. If the user does not provide a mask then all mutable fields present
// in the request will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The TemplateVersion resource being updated
TemplateVersion *TemplateVersion `protobuf:"bytes,2,opt,name=template_version,json=templateVersion,proto3" json:"template_version,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a TemplateVersion
func (*UpdateTemplateVersionRequest) Descriptor
func (*UpdateTemplateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTemplateVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateTemplateVersionRequest) GetRequestId
func (x *UpdateTemplateVersionRequest) GetRequestId() stringfunc (*UpdateTemplateVersionRequest) GetTemplateVersion
func (x *UpdateTemplateVersionRequest) GetTemplateVersion() *TemplateVersionfunc (*UpdateTemplateVersionRequest) GetUpdateMask
func (x *UpdateTemplateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTemplateVersionRequest) ProtoMessage
func (*UpdateTemplateVersionRequest) ProtoMessage()func (*UpdateTemplateVersionRequest) ProtoReflect
func (x *UpdateTemplateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTemplateVersionRequest) Reset
func (x *UpdateTemplateVersionRequest) Reset()func (*UpdateTemplateVersionRequest) String
func (x *UpdateTemplateVersionRequest) String() stringView
type View int32Option for requesting only metadata, or user provided payload of a ParameterVersion or TemplateVersion resource.
View_VIEW_UNSPECIFIED, View_BASIC, View_FULL
const (
// The default / unset value.
// The API will default to the FULL view.
View_VIEW_UNSPECIFIED View = 0
// Include only the metadata for the resource.
View_BASIC View = 1
// Include metadata & other relevant payload data as well.
// This is the default view.
View_FULL View = 2
)func (View) Descriptor
func (View) Descriptor() protoreflect.EnumDescriptorfunc (View) Enum
func (View) EnumDescriptor
Deprecated: Use View.Descriptor instead.
func (View) Number
func (x View) Number() protoreflect.EnumNumberfunc (View) String
func (View) Type
func (View) Type() protoreflect.EnumType