# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/parametermanager/v1/service.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/field_info_pb'
require 'google/api/resource_pb'
require 'google/iam/v1/resource_policy_member_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n.google/cloud/parametermanager/v1/service.proto\x12 google.cloud.parametermanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a*google/iam/v1/resource_policy_member.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe6\x04\n\tParameter\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x06labels\x18\x04 \x03(\x0b\x32\x37.google.cloud.parametermanager.v1.Parameter.LabelsEntryB\x03\xe0\x41\x01\x12\x46\n\x06\x66ormat\x18\x05 \x01(\x0e\x32\x31.google.cloud.parametermanager.v1.ParameterFormatB\x03\xe0\x41\x01\x12?\n\rpolicy_member\x18\x06 \x01(\x0b\x32#.google.iam.v1.ResourcePolicyMemberB\x03\xe0\x41\x03\x12?\n\x07kms_key\x18\x07 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKeyH\x00\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x86\x01\xea\x41\x82\x01\n)parametermanager.googleapis.com/Parameter\x12>projects/{project}/locations/{location}/parameters/{parameter}*\nparameters2\tparameterB\n\n\x08_kms_key\"\xb7\x01\n\x15ListParametersRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)parametermanager.googleapis.com/Parameter\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8c\x01\n\x16ListParametersResponse\x12?\n\nparameters\x18\x01 \x03(\x0b\x32+.google.cloud.parametermanager.v1.Parameter\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"V\n\x13GetParameterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)parametermanager.googleapis.com/Parameter\"\xdc\x01\n\x16\x43reateParameterRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)parametermanager.googleapis.com/Parameter\x12\x19\n\x0cparameter_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\tparameter\x18\x03 \x01(\x0b\x32+.google.cloud.parametermanager.v1.ParameterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb4\x01\n\x16UpdateParameterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x43\n\tparameter\x18\x02 \x01(\x0b\x32+.google.cloud.parametermanager.v1.ParameterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"z\n\x16\x44\x65leteParameterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)parametermanager.googleapis.com/Parameter\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xf1\x03\n\x10ParameterVersion\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x15\n\x08\x64isabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12R\n\x07payload\x18\x05 \x01(\x0b\x32\x39.google.cloud.parametermanager.v1.ParameterVersionPayloadB\x06\xe0\x41\x02\xe0\x41\x05\x12$\n\x0fkms_key_version\x18\x06 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x01H\x00\x88\x01\x01:\xb8\x01\xea\x41\xb4\x01\n0parametermanager.googleapis.com/ParameterVersion\x12[projects/{project}/locations/{location}/parameters/{parameter}/versions/{parameter_version}*\x11parameterVersions2\x10parameterVersionB\x12\n\x10_kms_key_version\",\n\x17ParameterVersionPayload\x12\x11\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\"\xc5\x01\n\x1cListParameterVersionsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30parametermanager.googleapis.com/ParameterVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa2\x01\n\x1dListParameterVersionsResponse\x12N\n\x12parameter_versions\x18\x01 \x03(\x0b\x32\x32.google.cloud.parametermanager.v1.ParameterVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\x9f\x01\n\x1aGetParameterVersionRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0parametermanager.googleapis.com/ParameterVersion\x12\x39\n\x04view\x18\x06 \x01(\x0e\x32&.google.cloud.parametermanager.v1.ViewB\x03\xe0\x41\x01\"g\n\x1dRenderParameterVersionRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0parametermanager.googleapis.com/ParameterVersion\"\xe0\x01\n\x1eRenderParameterVersionResponse\x12S\n\x11parameter_version\x18\x01 \x01(\tB8\xe0\x41\x03\xfa\x41\x32\n0parametermanager.googleapis.com/ParameterVersion\x12J\n\x07payload\x18\x02 \x01(\x0b\x32\x39.google.cloud.parametermanager.v1.ParameterVersionPayload\x12\x1d\n\x10rendered_payload\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x03\"\x81\x02\n\x1d\x43reateParameterVersionRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30parametermanager.googleapis.com/ParameterVersion\x12!\n\x14parameter_version_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12R\n\x11parameter_version\x18\x03 \x01(\x0b\x32\x32.google.cloud.parametermanager.v1.ParameterVersionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xca\x01\n\x1dUpdateParameterVersionRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12R\n\x11parameter_version\x18\x02 \x01(\x0b\x32\x32.google.cloud.parametermanager.v1.ParameterVersionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x88\x01\n\x1d\x44\x65leteParameterVersionRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0parametermanager.googleapis.com/ParameterVersion\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01*X\n\x0fParameterFormat\x12 \n\x1cPARAMETER_FORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0bUNFORMATTED\x10\x01\x12\x08\n\x04YAML\x10\x02\x12\x08\n\x04JSON\x10\x03*1\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x32\xdd\x13\n\x10ParameterManager\x12\xc4\x01\n\x0eListParameters\x12\x37.google.cloud.parametermanager.v1.ListParametersRequest\x1a\x38.google.cloud.parametermanager.v1.ListParametersResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/parameters\x12\xb1\x01\n\x0cGetParameter\x12\x35.google.cloud.parametermanager.v1.GetParameterRequest\x1a+.google.cloud.parametermanager.v1.Parameter\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/parameters/*}\x12\xdb\x01\n\x0f\x43reateParameter\x12\x38.google.cloud.parametermanager.v1.CreateParameterRequest\x1a+.google.cloud.parametermanager.v1.Parameter\"a\xda\x41\x1dparent,parameter,parameter_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/parameters:\tparameter\x12\xdd\x01\n\x0fUpdateParameter\x12\x38.google.cloud.parametermanager.v1.UpdateParameterRequest\x1a+.google.cloud.parametermanager.v1.Parameter\"c\xda\x41\x15parameter,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{parameter.name=projects/*/locations/*/parameters/*}:\tparameter\x12\xa2\x01\n\x0f\x44\x65leteParameter\x12\x38.google.cloud.parametermanager.v1.DeleteParameterRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/parameters/*}\x12\xe4\x01\n\x15ListParameterVersions\x12>.google.cloud.parametermanager.v1.ListParameterVersionsRequest\x1a?.google.cloud.parametermanager.v1.ListParameterVersionsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/parameters/*}/versions\x12\xd1\x01\n\x13GetParameterVersion\x12<.google.cloud.parametermanager.v1.GetParameterVersionRequest\x1a\x32.google.cloud.parametermanager.v1.ParameterVersion\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/parameters/*/versions/*}\x12\xec\x01\n\x16RenderParameterVersion\x12?.google.cloud.parametermanager.v1.RenderParameterVersionRequest\x1a@.google.cloud.parametermanager.v1.RenderParameterVersionResponse\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/parameters/*/versions/*}:render\x12\x94\x02\n\x16\x43reateParameterVersion\x12?.google.cloud.parametermanager.v1.CreateParameterVersionRequest\x1a\x32.google.cloud.parametermanager.v1.ParameterVersion\"\x84\x01\xda\x41-parent,parameter_version,parameter_version_id\x82\xd3\xe4\x93\x02N\"9/v1/{parent=projects/*/locations/*/parameters/*}/versions:\x11parameter_version\x12\x96\x02\n\x16UpdateParameterVersion\x12?.google.cloud.parametermanager.v1.UpdateParameterVersionRequest\x1a\x32.google.cloud.parametermanager.v1.ParameterVersion\"\x86\x01\xda\x41\x1dparameter_version,update_mask\x82\xd3\xe4\x93\x02`2K/v1/{parameter_version.name=projects/*/locations/*/parameters/*/versions/*}:\x11parameter_version\x12\xbb\x01\n\x16\x44\x65leteParameterVersion\x12?.google.cloud.parametermanager.v1.DeleteParameterVersionRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/parameters/*/versions/*}\x1aS\xca\x41\x1fparametermanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xee\x02\n$com.google.cloud.parametermanager.v1B\x0bV1mainProtoP\x01ZPcloud.google.com/go/parametermanager/apiv1/parametermanagerpb;parametermanagerpb\xaa\x02 Google.Cloud.ParameterManager.V1\xca\x02 Google\\Cloud\\ParameterManager\\V1\xea\x02#Google::Cloud::ParameterManager::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.iam.v1.ResourcePolicyMember", "google/iam/v1/resource_policy_member.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module ParameterManager
      module V1
        Parameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.Parameter").msgclass
        ListParametersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.ListParametersRequest").msgclass
        ListParametersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.ListParametersResponse").msgclass
        GetParameterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.GetParameterRequest").msgclass
        CreateParameterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.CreateParameterRequest").msgclass
        UpdateParameterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.UpdateParameterRequest").msgclass
        DeleteParameterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.DeleteParameterRequest").msgclass
        ParameterVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.ParameterVersion").msgclass
        ParameterVersionPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.ParameterVersionPayload").msgclass
        ListParameterVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.ListParameterVersionsRequest").msgclass
        ListParameterVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.ListParameterVersionsResponse").msgclass
        GetParameterVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.GetParameterVersionRequest").msgclass
        RenderParameterVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.RenderParameterVersionRequest").msgclass
        RenderParameterVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.RenderParameterVersionResponse").msgclass
        CreateParameterVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.CreateParameterVersionRequest").msgclass
        UpdateParameterVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.UpdateParameterVersionRequest").msgclass
        DeleteParameterVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.DeleteParameterVersionRequest").msgclass
        ParameterFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.ParameterFormat").enummodule
        View = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parametermanager.v1.View").enummodule
      end
    end
  end
end
