lib/google/cloud/resourcemanager/v3/folders_pb.rb in google-cloud-resource_manager-v3-0.8.1 vs lib/google/cloud/resourcemanager/v3/folders_pb.rb in google-cloud-resource_manager-v3-0.8.2
- old
+ new
@@ -13,16 +13,16 @@
require 'google/longrunning/operations_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'
-descriptor_data = "\n-google/cloud/resourcemanager/v3/folders.proto\x12\x1fgoogle.cloud.resourcemanager.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x03\n\x06\x46older\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06parent\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32-.google.cloud.resourcemanager.v3.Folder.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x03\"@\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x14\n\x10\x44\x45LETE_REQUESTED\x10\x02:D\xea\x41\x41\n*cloudresourcemanager.googleapis.com/Folder\x12\x10\x66olders/{folder}R\x01\x01\"T\n\x10GetFolderRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*cloudresourcemanager.googleapis.com/Folder\"{\n\x12ListFoldersRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\x12\x01*\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\x19\n\x0cshow_deleted\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"h\n\x13ListFoldersResponse\x12\x38\n\x07\x66olders\x18\x01 \x03(\x0b\x32\'.google.cloud.resourcemanager.v3.Folder\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"[\n\x14SearchFoldersRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05query\x18\x03 \x01(\tB\x03\xe0\x41\x01\"j\n\x15SearchFoldersResponse\x12\x38\n\x07\x66olders\x18\x01 \x03(\x0b\x32\'.google.cloud.resourcemanager.v3.Folder\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x13\x43reateFolderRequest\x12<\n\x06\x66older\x18\x02 \x01(\x0b\x32\'.google.cloud.resourcemanager.v3.FolderB\x03\xe0\x41\x02\"<\n\x14\x43reateFolderMetadata\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\"\x89\x01\n\x13UpdateFolderRequest\x12<\n\x06\x66older\x18\x01 \x01(\x0b\x32\'.google.cloud.resourcemanager.v3.FolderB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x16\n\x14UpdateFolderMetadata\"|\n\x11MoveFolderRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*cloudresourcemanager.googleapis.com/Folder\x12%\n\x12\x64\x65stination_parent\x18\x02 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\x12\x01*\"]\n\x12MoveFolderMetadata\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x15\n\rsource_parent\x18\x02 \x01(\t\x12\x1a\n\x12\x64\x65stination_parent\x18\x03 \x01(\t\"W\n\x13\x44\x65leteFolderRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*cloudresourcemanager.googleapis.com/Folder\"\x16\n\x14\x44\x65leteFolderMetadata\"Y\n\x15UndeleteFolderRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*cloudresourcemanager.googleapis.com/Folder\"\x18\n\x16UndeleteFolderMetadata2\xde\x0f\n\x07\x46olders\x12\x8c\x01\n\tGetFolder\x12\x31.google.cloud.resourcemanager.v3.GetFolderRequest\x1a\'.google.cloud.resourcemanager.v3.Folder\"#\x82\xd3\xe4\x93\x02\x16\x12\x14/v3/{name=folders/*}\xda\x41\x04name\x12\x96\x01\n\x0bListFolders\x12\x33.google.cloud.resourcemanager.v3.ListFoldersRequest\x1a\x34.google.cloud.resourcemanager.v3.ListFoldersResponse\"\x1c\x82\xd3\xe4\x93\x02\r\x12\x0b/v3/folders\xda\x41\x06parent\x12\xa2\x01\n\rSearchFolders\x12\x35.google.cloud.resourcemanager.v3.SearchFoldersRequest\x1a\x36.google.cloud.resourcemanager.v3.SearchFoldersResponse\"\"\x82\xd3\xe4\x93\x02\x14\x12\x12/v3/folders:search\xda\x41\x05query\x12\xaa\x01\n\x0c\x43reateFolder\x12\x34.google.cloud.resourcemanager.v3.CreateFolderRequest\x1a\x1d.google.longrunning.Operation\"E\x82\xd3\xe4\x93\x02\x15\"\x0b/v3/folders:\x06\x66older\xda\x41\x06\x66older\xca\x41\x1e\n\x06\x46older\x12\x14\x43reateFolderMetadata\x12\xc6\x01\n\x0cUpdateFolder\x12\x34.google.cloud.resourcemanager.v3.UpdateFolderRequest\x1a\x1d.google.longrunning.Operation\"a\x82\xd3\xe4\x93\x02%2\x1b/v3/{folder.name=folders/*}:\x06\x66older\xda\x41\x12\x66older,update_mask\xca\x41\x1e\n\x06\x46older\x12\x14UpdateFolderMetadata\x12\xbe\x01\n\nMoveFolder\x12\x32.google.cloud.resourcemanager.v3.MoveFolderRequest\x1a\x1d.google.longrunning.Operation\"]\x82\xd3\xe4\x93\x02\x1e\"\x19/v3/{name=folders/*}:move:\x01*\xda\x41\x17name,destination_parent\xca\x41\x1c\n\x06\x46older\x12\x12MoveFolderMetadata\x12\xa9\x01\n\x0c\x44\x65leteFolder\x12\x34.google.cloud.resourcemanager.v3.DeleteFolderRequest\x1a\x1d.google.longrunning.Operation\"D\x82\xd3\xe4\x93\x02\x16*\x14/v3/{name=folders/*}\xda\x41\x04name\xca\x41\x1e\n\x06\x46older\x12\x14\x44\x65leteFolderMetadata\x12\xbb\x01\n\x0eUndeleteFolder\x12\x36.google.cloud.resourcemanager.v3.UndeleteFolderRequest\x1a\x1d.google.longrunning.Operation\"R\x82\xd3\xe4\x93\x02\"\"\x1d/v3/{name=folders/*}:undelete:\x01*\xda\x41\x04name\xca\x41 \n\x06\x46older\x12\x16UndeleteFolderMetadata\x12\x86\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\";\x82\xd3\xe4\x93\x02*\"%/v3/{resource=folders/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\x8d\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"B\x82\xd3\xe4\x93\x02*\"%/v3/{resource=folders/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xb8\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"M\x82\xd3\xe4\x93\x02\x30\"+/v3/{resource=folders/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x1a\x90\x01\xca\x41#cloudresourcemanager.googleapis.com\xd2\x41ghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xed\x01\n#com.google.cloud.resourcemanager.v3B\x0c\x46oldersProtoP\x01ZMcloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb\xaa\x02\x1fGoogle.Cloud.ResourceManager.V3\xca\x02\x1fGoogle\\Cloud\\ResourceManager\\V3\xea\x02\"Google::Cloud::ResourceManager::V3b\x06proto3"
+descriptor_data = "\n-google/cloud/resourcemanager/v3/folders.proto\x12\x1fgoogle.cloud.resourcemanager.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcd\x03\n\x06\x46older\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x06parent\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x42\n\x05state\x18\x04 \x01(\x0e\x32-.google.cloud.resourcemanager.v3.Folder.StateB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x12\n\x04\x65tag\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\"@\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x14\n\x10\x44\x45LETE_REQUESTED\x10\x02:D\xea\x41\x41\n*cloudresourcemanager.googleapis.com/Folder\x12\x10\x66olders/{folder}R\x01\x01\"U\n\x10GetFolderRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*cloudresourcemanager.googleapis.com/Folder\"\x7f\n\x12ListFoldersRequest\x12\x1a\n\x06parent\x18\x01 \x01(\tB\n\xe2\x41\x01\x02\xfa\x41\x03\x12\x01*\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cshow_deleted\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"h\n\x13ListFoldersResponse\x12\x38\n\x07\x66olders\x18\x01 \x03(\x0b\x32\'.google.cloud.resourcemanager.v3.Folder\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x14SearchFoldersRequest\x12\x17\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05query\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"j\n\x15SearchFoldersResponse\x12\x38\n\x07\x66olders\x18\x01 \x03(\x0b\x32\'.google.cloud.resourcemanager.v3.Folder\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x13\x43reateFolderRequest\x12=\n\x06\x66older\x18\x02 \x01(\x0b\x32\'.google.cloud.resourcemanager.v3.FolderB\x04\xe2\x41\x01\x02\"<\n\x14\x43reateFolderMetadata\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\"\x8b\x01\n\x13UpdateFolderRequest\x12=\n\x06\x66older\x18\x01 \x01(\x0b\x32\'.google.cloud.resourcemanager.v3.FolderB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"\x16\n\x14UpdateFolderMetadata\"~\n\x11MoveFolderRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*cloudresourcemanager.googleapis.com/Folder\x12&\n\x12\x64\x65stination_parent\x18\x02 \x01(\tB\n\xe2\x41\x01\x02\xfa\x41\x03\x12\x01*\"]\n\x12MoveFolderMetadata\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x15\n\rsource_parent\x18\x02 \x01(\t\x12\x1a\n\x12\x64\x65stination_parent\x18\x03 \x01(\t\"X\n\x13\x44\x65leteFolderRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*cloudresourcemanager.googleapis.com/Folder\"\x16\n\x14\x44\x65leteFolderMetadata\"Z\n\x15UndeleteFolderRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*cloudresourcemanager.googleapis.com/Folder\"\x18\n\x16UndeleteFolderMetadata2\xde\x0f\n\x07\x46olders\x12\x8c\x01\n\tGetFolder\x12\x31.google.cloud.resourcemanager.v3.GetFolderRequest\x1a\'.google.cloud.resourcemanager.v3.Folder\"#\xda\x41\x04name\x82\xd3\xe4\x93\x02\x16\x12\x14/v3/{name=folders/*}\x12\x96\x01\n\x0bListFolders\x12\x33.google.cloud.resourcemanager.v3.ListFoldersRequest\x1a\x34.google.cloud.resourcemanager.v3.ListFoldersResponse\"\x1c\xda\x41\x06parent\x82\xd3\xe4\x93\x02\r\x12\x0b/v3/folders\x12\xa2\x01\n\rSearchFolders\x12\x35.google.cloud.resourcemanager.v3.SearchFoldersRequest\x1a\x36.google.cloud.resourcemanager.v3.SearchFoldersResponse\"\"\xda\x41\x05query\x82\xd3\xe4\x93\x02\x14\x12\x12/v3/folders:search\x12\xaa\x01\n\x0c\x43reateFolder\x12\x34.google.cloud.resourcemanager.v3.CreateFolderRequest\x1a\x1d.google.longrunning.Operation\"E\xca\x41\x1e\n\x06\x46older\x12\x14\x43reateFolderMetadata\xda\x41\x06\x66older\x82\xd3\xe4\x93\x02\x15\"\x0b/v3/folders:\x06\x66older\x12\xc6\x01\n\x0cUpdateFolder\x12\x34.google.cloud.resourcemanager.v3.UpdateFolderRequest\x1a\x1d.google.longrunning.Operation\"a\xca\x41\x1e\n\x06\x46older\x12\x14UpdateFolderMetadata\xda\x41\x12\x66older,update_mask\x82\xd3\xe4\x93\x02%2\x1b/v3/{folder.name=folders/*}:\x06\x66older\x12\xbe\x01\n\nMoveFolder\x12\x32.google.cloud.resourcemanager.v3.MoveFolderRequest\x1a\x1d.google.longrunning.Operation\"]\xca\x41\x1c\n\x06\x46older\x12\x12MoveFolderMetadata\xda\x41\x17name,destination_parent\x82\xd3\xe4\x93\x02\x1e\"\x19/v3/{name=folders/*}:move:\x01*\x12\xa9\x01\n\x0c\x44\x65leteFolder\x12\x34.google.cloud.resourcemanager.v3.DeleteFolderRequest\x1a\x1d.google.longrunning.Operation\"D\xca\x41\x1e\n\x06\x46older\x12\x14\x44\x65leteFolderMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x16*\x14/v3/{name=folders/*}\x12\xbb\x01\n\x0eUndeleteFolder\x12\x36.google.cloud.resourcemanager.v3.UndeleteFolderRequest\x1a\x1d.google.longrunning.Operation\"R\xca\x41 \n\x06\x46older\x12\x16UndeleteFolderMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\"\"\x1d/v3/{name=folders/*}:undelete:\x01*\x12\x86\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\";\xda\x41\x08resource\x82\xd3\xe4\x93\x02*\"%/v3/{resource=folders/*}:getIamPolicy:\x01*\x12\x8d\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"B\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02*\"%/v3/{resource=folders/*}:setIamPolicy:\x01*\x12\xb8\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"M\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02\x30\"+/v3/{resource=folders/*}:testIamPermissions:\x01*\x1a\x90\x01\xca\x41#cloudresourcemanager.googleapis.com\xd2\x41ghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xed\x01\n#com.google.cloud.resourcemanager.v3B\x0c\x46oldersProtoP\x01ZMcloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb\xaa\x02\x1fGoogle.Cloud.ResourceManager.V3\xca\x02\x1fGoogle\\Cloud\\ResourceManager\\V3\xea\x02\"Google::Cloud::ResourceManager::V3b\x06proto3"
pool = Google::Protobuf::DescriptorPool.generated_pool
begin
pool.add_serialized_file(descriptor_data)
-rescue TypeError => e
+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)