cloud.google.com/go/aiplatform@v1.106.0/apiv1/aiplatformpb/notebook_euc_config.pb.go (about)

     1  // Copyright 2025 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.35.2
    18  // 	protoc        v4.25.7
    19  // source: google/cloud/aiplatform/v1/notebook_euc_config.proto
    20  
    21  package aiplatformpb
    22  
    23  import (
    24  	_ "google.golang.org/genproto/googleapis/api/annotations"
    25  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    26  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    27  	reflect "reflect"
    28  	sync "sync"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // The euc configuration of NotebookRuntimeTemplate.
    39  type NotebookEucConfig struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// Input only. Whether EUC is disabled in this NotebookRuntimeTemplate.
    45  	// In proto3, the default value of a boolean is false. In this way, by default
    46  	// EUC will be enabled for NotebookRuntimeTemplate.
    47  	EucDisabled bool `protobuf:"varint,1,opt,name=euc_disabled,json=eucDisabled,proto3" json:"euc_disabled,omitempty"`
    48  	// Output only. Whether ActAs check is bypassed for service account attached
    49  	// to the VM. If false, we need ActAs check for the default Compute Engine
    50  	// Service account. When a Runtime is created, a VM is allocated using Default
    51  	// Compute Engine Service Account. Any user requesting to use this Runtime
    52  	// requires Service Account User (ActAs) permission over this SA. If true,
    53  	// Runtime owner is using EUC and does not require the above permission as VM
    54  	// no longer use default Compute Engine SA, but a P4SA.
    55  	BypassActasCheck bool `protobuf:"varint,2,opt,name=bypass_actas_check,json=bypassActasCheck,proto3" json:"bypass_actas_check,omitempty"`
    56  }
    57  
    58  func (x *NotebookEucConfig) Reset() {
    59  	*x = NotebookEucConfig{}
    60  	mi := &file_google_cloud_aiplatform_v1_notebook_euc_config_proto_msgTypes[0]
    61  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    62  	ms.StoreMessageInfo(mi)
    63  }
    64  
    65  func (x *NotebookEucConfig) String() string {
    66  	return protoimpl.X.MessageStringOf(x)
    67  }
    68  
    69  func (*NotebookEucConfig) ProtoMessage() {}
    70  
    71  func (x *NotebookEucConfig) ProtoReflect() protoreflect.Message {
    72  	mi := &file_google_cloud_aiplatform_v1_notebook_euc_config_proto_msgTypes[0]
    73  	if x != nil {
    74  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    75  		if ms.LoadMessageInfo() == nil {
    76  			ms.StoreMessageInfo(mi)
    77  		}
    78  		return ms
    79  	}
    80  	return mi.MessageOf(x)
    81  }
    82  
    83  // Deprecated: Use NotebookEucConfig.ProtoReflect.Descriptor instead.
    84  func (*NotebookEucConfig) Descriptor() ([]byte, []int) {
    85  	return file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDescGZIP(), []int{0}
    86  }
    87  
    88  func (x *NotebookEucConfig) GetEucDisabled() bool {
    89  	if x != nil {
    90  		return x.EucDisabled
    91  	}
    92  	return false
    93  }
    94  
    95  func (x *NotebookEucConfig) GetBypassActasCheck() bool {
    96  	if x != nil {
    97  		return x.BypassActasCheck
    98  	}
    99  	return false
   100  }
   101  
   102  var File_google_cloud_aiplatform_v1_notebook_euc_config_proto protoreflect.FileDescriptor
   103  
   104  var file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDesc = []byte{
   105  	0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   106  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74,
   107  	0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x5f, 0x65, 0x75, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   108  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   109  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
   110  	0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
   111  	0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
   112  	0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x45,
   113  	0x75, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x26, 0x0a, 0x0c, 0x65, 0x75, 0x63, 0x5f,
   114  	0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03,
   115  	0xe0, 0x41, 0x04, 0x52, 0x0b, 0x65, 0x75, 0x63, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64,
   116  	0x12, 0x31, 0x0a, 0x12, 0x62, 0x79, 0x70, 0x61, 0x73, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x61, 0x73,
   117  	0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41,
   118  	0x03, 0x52, 0x10, 0x62, 0x79, 0x70, 0x61, 0x73, 0x73, 0x41, 0x63, 0x74, 0x61, 0x73, 0x43, 0x68,
   119  	0x65, 0x63, 0x6b, 0x42, 0xd4, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   120  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66,
   121  	0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b,
   122  	0x45, 0x75, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
   123  	0x5a, 0x3e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   124  	0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   125  	0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
   126  	0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62,
   127  	0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   128  	0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a,
   129  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50,
   130  	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f,
   131  	0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c,
   132  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   133  	0x6f, 0x33,
   134  }
   135  
   136  var (
   137  	file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDescOnce sync.Once
   138  	file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDescData = file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDesc
   139  )
   140  
   141  func file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDescGZIP() []byte {
   142  	file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDescOnce.Do(func() {
   143  		file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDescData)
   144  	})
   145  	return file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDescData
   146  }
   147  
   148  var file_google_cloud_aiplatform_v1_notebook_euc_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   149  var file_google_cloud_aiplatform_v1_notebook_euc_config_proto_goTypes = []any{
   150  	(*NotebookEucConfig)(nil), // 0: google.cloud.aiplatform.v1.NotebookEucConfig
   151  }
   152  var file_google_cloud_aiplatform_v1_notebook_euc_config_proto_depIdxs = []int32{
   153  	0, // [0:0] is the sub-list for method output_type
   154  	0, // [0:0] is the sub-list for method input_type
   155  	0, // [0:0] is the sub-list for extension type_name
   156  	0, // [0:0] is the sub-list for extension extendee
   157  	0, // [0:0] is the sub-list for field type_name
   158  }
   159  
   160  func init() { file_google_cloud_aiplatform_v1_notebook_euc_config_proto_init() }
   161  func file_google_cloud_aiplatform_v1_notebook_euc_config_proto_init() {
   162  	if File_google_cloud_aiplatform_v1_notebook_euc_config_proto != nil {
   163  		return
   164  	}
   165  	type x struct{}
   166  	out := protoimpl.TypeBuilder{
   167  		File: protoimpl.DescBuilder{
   168  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   169  			RawDescriptor: file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDesc,
   170  			NumEnums:      0,
   171  			NumMessages:   1,
   172  			NumExtensions: 0,
   173  			NumServices:   0,
   174  		},
   175  		GoTypes:           file_google_cloud_aiplatform_v1_notebook_euc_config_proto_goTypes,
   176  		DependencyIndexes: file_google_cloud_aiplatform_v1_notebook_euc_config_proto_depIdxs,
   177  		MessageInfos:      file_google_cloud_aiplatform_v1_notebook_euc_config_proto_msgTypes,
   178  	}.Build()
   179  	File_google_cloud_aiplatform_v1_notebook_euc_config_proto = out.File
   180  	file_google_cloud_aiplatform_v1_notebook_euc_config_proto_rawDesc = nil
   181  	file_google_cloud_aiplatform_v1_notebook_euc_config_proto_goTypes = nil
   182  	file_google_cloud_aiplatform_v1_notebook_euc_config_proto_depIdxs = nil
   183  }