// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/asset/v1p1beta1/assets.proto

package asset

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	v1 "google.golang.org/genproto/googleapis/iam/v1"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// The standard metadata of a cloud resource.
type StandardResourceMetadata struct {
	// The full resource name. For example:
	// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
	// See [Resource
	// Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
	// for more information.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of this resource.
	// For example: "compute.googleapis.com/Disk".
	AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
	// The project that this resource belongs to, in the form of
	// `projects/{project_number}`.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// The display name of this resource.
	DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// One or more paragraphs of text description of this resource. Maximum length
	// could be up to 1M bytes.
	Description          string   `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *StandardResourceMetadata) Reset()         { *m = StandardResourceMetadata{} }
func (m *StandardResourceMetadata) String() string { return proto.CompactTextString(m) }
func (*StandardResourceMetadata) ProtoMessage()    {}
func (*StandardResourceMetadata) Descriptor() ([]byte, []int) {
	return fileDescriptor_292d674e8a9d7e8b, []int{0}
}

func (m *StandardResourceMetadata) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StandardResourceMetadata.Unmarshal(m, b)
}
func (m *StandardResourceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StandardResourceMetadata.Marshal(b, m, deterministic)
}
func (m *StandardResourceMetadata) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StandardResourceMetadata.Merge(m, src)
}
func (m *StandardResourceMetadata) XXX_Size() int {
	return xxx_messageInfo_StandardResourceMetadata.Size(m)
}
func (m *StandardResourceMetadata) XXX_DiscardUnknown() {
	xxx_messageInfo_StandardResourceMetadata.DiscardUnknown(m)
}

var xxx_messageInfo_StandardResourceMetadata proto.InternalMessageInfo

func (m *StandardResourceMetadata) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *StandardResourceMetadata) GetAssetType() string {
	if m != nil {
		return m.AssetType
	}
	return ""
}

func (m *StandardResourceMetadata) GetProject() string {
	if m != nil {
		return m.Project
	}
	return ""
}

func (m *StandardResourceMetadata) GetDisplayName() string {
	if m != nil {
		return m.DisplayName
	}
	return ""
}

func (m *StandardResourceMetadata) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

// The result for a IAM Policy search.
type IamPolicySearchResult struct {
	// The [full resource
	// name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
	// of the resource associated with this IAM policy.
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// The project that the associated GCP resource belongs to, in the form of
	// `projects/{project_number}`. If an IAM policy is set on a resource (like VM
	// instance, Cloud Storage bucket), the project field will indicate the
	// project that contains the resource. If an IAM policy is set on a folder or
	// orgnization, the project field will be empty.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Representation of the actual Cloud IAM policy set on a cloud resource. For
	// each resource, there must be at most one Cloud IAM policy set on it.
	Policy               *v1.Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (m *IamPolicySearchResult) Reset()         { *m = IamPolicySearchResult{} }
func (m *IamPolicySearchResult) String() string { return proto.CompactTextString(m) }
func (*IamPolicySearchResult) ProtoMessage()    {}
func (*IamPolicySearchResult) Descriptor() ([]byte, []int) {
	return fileDescriptor_292d674e8a9d7e8b, []int{1}
}

func (m *IamPolicySearchResult) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_IamPolicySearchResult.Unmarshal(m, b)
}
func (m *IamPolicySearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_IamPolicySearchResult.Marshal(b, m, deterministic)
}
func (m *IamPolicySearchResult) XXX_Merge(src proto.Message) {
	xxx_messageInfo_IamPolicySearchResult.Merge(m, src)
}
func (m *IamPolicySearchResult) XXX_Size() int {
	return xxx_messageInfo_IamPolicySearchResult.Size(m)
}
func (m *IamPolicySearchResult) XXX_DiscardUnknown() {
	xxx_messageInfo_IamPolicySearchResult.DiscardUnknown(m)
}

var xxx_messageInfo_IamPolicySearchResult proto.InternalMessageInfo

func (m *IamPolicySearchResult) GetResource() string {
	if m != nil {
		return m.Resource
	}
	return ""
}

func (m *IamPolicySearchResult) GetProject() string {
	if m != nil {
		return m.Project
	}
	return ""
}

func (m *IamPolicySearchResult) GetPolicy() *v1.Policy {
	if m != nil {
		return m.Policy
	}
	return nil
}

func init() {
	proto.RegisterType((*StandardResourceMetadata)(nil), "google.cloud.asset.v1p1beta1.StandardResourceMetadata")
	proto.RegisterType((*IamPolicySearchResult)(nil), "google.cloud.asset.v1p1beta1.IamPolicySearchResult")
}

func init() {
	proto.RegisterFile("google/cloud/asset/v1p1beta1/assets.proto", fileDescriptor_292d674e8a9d7e8b)
}

var fileDescriptor_292d674e8a9d7e8b = []byte{
	// 370 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00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