# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/resourcemanager/v3/organizations.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/iam/v1/iam_policy_pb' require 'google/iam/v1/policy_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/resourcemanager/v3/organizations.proto", :syntax => :proto3) do add_message "google.cloud.resourcemanager.v3.Organization" do optional :name, :string, 1 optional :display_name, :string, 2 optional :state, :enum, 4, "google.cloud.resourcemanager.v3.Organization.State" optional :create_time, :message, 5, "google.protobuf.Timestamp" optional :update_time, :message, 6, "google.protobuf.Timestamp" optional :delete_time, :message, 7, "google.protobuf.Timestamp" optional :etag, :string, 8 oneof :owner do optional :directory_customer_id, :string, 3 end end add_enum "google.cloud.resourcemanager.v3.Organization.State" do value :STATE_UNSPECIFIED, 0 value :ACTIVE, 1 value :DELETE_REQUESTED, 2 end add_message "google.cloud.resourcemanager.v3.GetOrganizationRequest" do optional :name, :string, 1 end add_message "google.cloud.resourcemanager.v3.SearchOrganizationsRequest" do optional :page_size, :int32, 1 optional :page_token, :string, 2 optional :query, :string, 3 end add_message "google.cloud.resourcemanager.v3.SearchOrganizationsResponse" do repeated :organizations, :message, 1, "google.cloud.resourcemanager.v3.Organization" optional :next_page_token, :string, 2 end add_message "google.cloud.resourcemanager.v3.DeleteOrganizationMetadata" do end add_message "google.cloud.resourcemanager.v3.UndeleteOrganizationMetadata" do end end end module Google module Cloud module ResourceManager module V3 Organization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.Organization").msgclass Organization::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.Organization.State").enummodule GetOrganizationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.GetOrganizationRequest").msgclass SearchOrganizationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.SearchOrganizationsRequest").msgclass SearchOrganizationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.SearchOrganizationsResponse").msgclass DeleteOrganizationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.DeleteOrganizationMetadata").msgclass UndeleteOrganizationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcemanager.v3.UndeleteOrganizationMetadata").msgclass end end end end