Skip to content

Commit

Permalink
feat: enable FeatureView Service Account in v1 API version
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 719390405

Source-Link: googleapis/googleapis@1db12e6

Source-Link: googleapis/googleapis-gen@66be99f
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQUlQbGF0Zm9ybS5WMS8uT3dsQm90LnlhbWwiLCJoIjoiNjZiZTk5ZmZmNmUwNWM5OTYzOWE0MGMzNjFiZWI5ODIxMzY0MDIzZCJ9
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed Jan 25, 2025
1 parent fcf3080 commit 34dc1ce
Show file tree
Hide file tree
Showing 2 changed files with 169 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static FeatureViewReflection() {
"Ci1nb29nbGUvY2xvdWQvYWlwbGF0Zm9ybS92MS9mZWF0dXJlX3ZpZXcucHJv",
"dG8SGmdvb2dsZS5jbG91ZC5haXBsYXRmb3JtLnYxGh9nb29nbGUvYXBpL2Zp",
"ZWxkX2JlaGF2aW9yLnByb3RvGhlnb29nbGUvYXBpL3Jlc291cmNlLnByb3Rv",
"Gh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvItEQCgtGZWF0dXJl",
"Gh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvIs0SCgtGZWF0dXJl",
"VmlldxJXChBiaWdfcXVlcnlfc291cmNlGAYgASgLMjYuZ29vZ2xlLmNsb3Vk",
"LmFpcGxhdGZvcm0udjEuRmVhdHVyZVZpZXcuQmlnUXVlcnlTb3VyY2VCA+BB",
"AUgAEmUKF2ZlYXR1cmVfcmVnaXN0cnlfc291cmNlGAkgASgLMj0uZ29vZ2xl",
Expand All @@ -42,48 +42,54 @@ static FeatureViewReflection() {
"bHNFbnRyeUID4EEBEkcKC3N5bmNfY29uZmlnGAcgASgLMjIuZ29vZ2xlLmNs",
"b3VkLmFpcGxhdGZvcm0udjEuRmVhd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ZWF0dXJlX2dyb3VwX2lkGAEgASgJQgPgQQISGAoLZmVhdHVyZV9p",
"ZHMYAiADKAlCA+BBAkIRCg9fcHJvamVjdF9udW1iZXIaPwoPVmVydGV4UmFn",
"U291cmNlEhAKA3VyaRgBIAEoCUID4EECEhoKDXJhZ19jb3JwdXNfaWQYAiAB",
"KANCA+BBARotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUY",
"AiABKAk6AjgBInsKEFNlcnZpY2VBZ2VudFR5cGUSIgoeU0VSVklDRV9BR0VO",
"VF9UWVBFX1VOU1BFQ0lGSUVEEAASHgoaU0VSVklDRV9BR0VOVF9UWVBFX1BS",
"T0pFQ1QQARIjCh9TRVJWSUNFX0FHRU5UX1RZUEVfRkVBVFVSRV9WSUVXEAI6",
"mwHqQZcBCiVhaXBsYXRmb3JtLmdvb2dsZWFwaXMuY29tL0ZlYXR1cmVWaWV3",
"Em5wcm9qZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3tsb2NhdGlvbn0vZmVh",
"dHVyZU9ubGluZVN0b3Jlcy97ZmVhdHVyZV9vbmxpbmVfc3RvcmV9L2ZlYXR1",
"cmVWaWV3cy97ZmVhdHVyZV92aWV3fUIICgZzb3VyY2VCzgEKHmNvbS5nb29n",
"bGUuY2xvdWQuYWlwbGF0Zm9ybS52MUIQRmVhdHVyZVZpZXdQcm90b1ABWj5j",
"bG91ZC5nb29nbGUuY29tL2dvL2FpcGxhdGZvcm0vYXBpdjEvYWlwbGF0Zm9y",
"bXBiO2FpcGxhdGZvcm1wYqoCGkdvb2dsZS5DbG91ZC5BSVBsYXRmb3JtLlYx",
"ygIaR29vZ2xlXENsb3VkXEFJUGxhdGZvcm1cVjHqAh1Hb29nbGU6OkNsb3Vk",
"OjpBSVBsYXRmb3JtOjpWMWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FeatureView), global::Google.Cloud.AIPlatform.V1.FeatureView.Parser, new[]{ "BigQuerySource", "FeatureRegistrySource", "VertexRagSource", "Name", "CreateTime", "UpdateTime", "Etag", "Labels", "SyncConfig", "IndexConfig", "SatisfiesPzs", "SatisfiesPzi" }, new[]{ "Source" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FeatureView.Types.BigQuerySource), global::Google.Cloud.AIPlatform.V1.FeatureView.Types.BigQuerySource.Parser, new[]{ "Uri", "EntityIdColumns" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FeatureView), global::Google.Cloud.AIPlatform.V1.FeatureView.Parser, new[]{ "BigQuerySource", "FeatureRegistrySource", "VertexRagSource", "Name", "CreateTime", "UpdateTime", "Etag", "Labels", "SyncConfig", "IndexConfig", "ServiceAgentType", "ServiceAccountEmail", "SatisfiesPzs", "SatisfiesPzi" }, new[]{ "Source" }, new[]{ typeof(global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FeatureView.Types.BigQuerySource), global::Google.Cloud.AIPlatform.V1.FeatureView.Types.BigQuerySource.Parser, new[]{ "Uri", "EntityIdColumns" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FeatureView.Types.SyncConfig), global::Google.Cloud.AIPlatform.V1.FeatureView.Types.SyncConfig.Parser, new[]{ "Cron", "Continuous" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig), global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig.Parser, new[]{ "TreeAhConfig", "BruteForceConfig", "EmbeddingColumn", "FilterColumns", "CrowdingColumn", "EmbeddingDimension", "DistanceMeasureType" }, new[]{ "AlgorithmConfig", "EmbeddingDimension" }, new[]{ typeof(global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig.Types.DistanceMeasureType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig.Types.BruteForceConfig), global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig.Types.BruteForceConfig.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig.Types.TreeAHConfig), global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig.Types.TreeAHConfig.Parser, new[]{ "LeafNodeEmbeddingCount" }, new[]{ "LeafNodeEmbeddingCount" }, null, null, null)}),
Expand Down Expand Up @@ -142,6 +148,8 @@ public FeatureView(FeatureView other) : this() {
labels_ = other.labels_.Clone();
syncConfig_ = other.syncConfig_ != null ? other.syncConfig_.Clone() : null;
indexConfig_ = other.indexConfig_ != null ? other.indexConfig_.Clone() : null;
serviceAgentType_ = other.serviceAgentType_;
serviceAccountEmail_ = other.serviceAccountEmail_;
satisfiesPzs_ = other.satisfiesPzs_;
satisfiesPzi_ = other.satisfiesPzi_;
switch (other.SourceCase) {
Expand Down Expand Up @@ -333,6 +341,43 @@ public string Etag {
}
}

/// <summary>Field number for the "service_agent_type" field.</summary>
public const int ServiceAgentTypeFieldNumber = 14;
private global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType serviceAgentType_ = global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType.Unspecified;
/// <summary>
/// Optional. Service agent type used during data sync. By default, the Vertex
/// AI Service Agent is used. When using an IAM Policy to isolate this
/// FeatureView within a project, a separate service account should be
/// provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`.
/// This will generate a separate service account to access the BigQuery source
/// table.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType ServiceAgentType {
get { return serviceAgentType_; }
set {
serviceAgentType_ = value;
}
}

/// <summary>Field number for the "service_account_email" field.</summary>
public const int ServiceAccountEmailFieldNumber = 13;
private string serviceAccountEmail_ = "";
/// <summary>
/// Output only. A Service Account unique to this FeatureView. The role
/// bigquery.dataViewer should be granted to this service account to allow
/// Vertex AI Feature Store to sync data to the online store.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ServiceAccountEmail {
get { return serviceAccountEmail_; }
set {
serviceAccountEmail_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}

/// <summary>Field number for the "satisfies_pzs" field.</summary>
public const int SatisfiesPzsFieldNumber = 19;
private bool satisfiesPzs_;
Expand Down Expand Up @@ -410,6 +455,8 @@ public bool Equals(FeatureView other) {
if (!Labels.Equals(other.Labels)) return false;
if (!object.Equals(SyncConfig, other.SyncConfig)) return false;
if (!object.Equals(IndexConfig, other.IndexConfig)) return false;
if (ServiceAgentType != other.ServiceAgentType) return false;
if (ServiceAccountEmail != other.ServiceAccountEmail) return false;
if (SatisfiesPzs != other.SatisfiesPzs) return false;
if (SatisfiesPzi != other.SatisfiesPzi) return false;
if (SourceCase != other.SourceCase) return false;
Expand All @@ -430,6 +477,8 @@ public override int GetHashCode() {
hash ^= Labels.GetHashCode();
if (syncConfig_ != null) hash ^= SyncConfig.GetHashCode();
if (indexConfig_ != null) hash ^= IndexConfig.GetHashCode();
if (ServiceAgentType != global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType.Unspecified) hash ^= ServiceAgentType.GetHashCode();
if (ServiceAccountEmail.Length != 0) hash ^= ServiceAccountEmail.GetHashCode();
if (SatisfiesPzs != false) hash ^= SatisfiesPzs.GetHashCode();
if (SatisfiesPzi != false) hash ^= SatisfiesPzi.GetHashCode();
hash ^= (int) sourceCase_;
Expand Down Expand Up @@ -480,6 +529,14 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(74);
output.WriteMessage(FeatureRegistrySource);
}
if (ServiceAccountEmail.Length != 0) {
output.WriteRawTag(106);
output.WriteString(ServiceAccountEmail);
}
if (ServiceAgentType != global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType.Unspecified) {
output.WriteRawTag(112);
output.WriteEnum((int) ServiceAgentType);
}
if (indexConfig_ != null) {
output.WriteRawTag(122);
output.WriteMessage(IndexConfig);
Expand Down Expand Up @@ -535,6 +592,14 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(74);
output.WriteMessage(FeatureRegistrySource);
}
if (ServiceAccountEmail.Length != 0) {
output.WriteRawTag(106);
output.WriteString(ServiceAccountEmail);
}
if (ServiceAgentType != global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType.Unspecified) {
output.WriteRawTag(112);
output.WriteEnum((int) ServiceAgentType);
}
if (indexConfig_ != null) {
output.WriteRawTag(122);
output.WriteMessage(IndexConfig);
Expand Down Expand Up @@ -589,6 +654,12 @@ public int CalculateSize() {
if (indexConfig_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexConfig);
}
if (ServiceAgentType != global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType.Unspecified) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ServiceAgentType);
}
if (ServiceAccountEmail.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceAccountEmail);
}
if (SatisfiesPzs != false) {
size += 2 + 1;
}
Expand Down Expand Up @@ -638,6 +709,12 @@ public void MergeFrom(FeatureView other) {
}
IndexConfig.MergeFrom(other.IndexConfig);
}
if (other.ServiceAgentType != global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType.Unspecified) {
ServiceAgentType = other.ServiceAgentType;
}
if (other.ServiceAccountEmail.Length != 0) {
ServiceAccountEmail = other.ServiceAccountEmail;
}
if (other.SatisfiesPzs != false) {
SatisfiesPzs = other.SatisfiesPzs;
}
Expand Down Expand Up @@ -731,6 +808,14 @@ public void MergeFrom(pb::CodedInputStream input) {
FeatureRegistrySource = subBuilder;
break;
}
case 106: {
ServiceAccountEmail = input.ReadString();
break;
}
case 112: {
ServiceAgentType = (global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType) input.ReadEnum();
break;
}
case 122: {
if (indexConfig_ == null) {
IndexConfig = new global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig();
Expand Down Expand Up @@ -821,6 +906,14 @@ public void MergeFrom(pb::CodedInputStream input) {
FeatureRegistrySource = subBuilder;
break;
}
case 106: {
ServiceAccountEmail = input.ReadString();
break;
}
case 112: {
ServiceAgentType = (global::Google.Cloud.AIPlatform.V1.FeatureView.Types.ServiceAgentType) input.ReadEnum();
break;
}
case 122: {
if (indexConfig_ == null) {
IndexConfig = new global::Google.Cloud.AIPlatform.V1.FeatureView.Types.IndexConfig();
Expand Down Expand Up @@ -855,6 +948,28 @@ public void MergeFrom(pb::CodedInputStream input) {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
/// <summary>
/// Service agent type used during data sync.
/// </summary>
public enum ServiceAgentType {
/// <summary>
/// By default, the project-level Vertex AI Service Agent is enabled.
/// </summary>
[pbr::OriginalName("SERVICE_AGENT_TYPE_UNSPECIFIED")] Unspecified = 0,
/// <summary>
/// Indicates the project-level Vertex AI Service Agent
/// (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
/// will be used during sync jobs.
/// </summary>
[pbr::OriginalName("SERVICE_AGENT_TYPE_PROJECT")] Project = 1,
/// <summary>
/// Enable a FeatureView service account to be created by Vertex AI and
/// output in the field `service_account_email`. This service account will
/// be used to read from the source BigQuery table during sync.
/// </summary>
[pbr::OriginalName("SERVICE_AGENT_TYPE_FEATURE_VIEW")] FeatureView = 2,
}

[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BigQuerySource : pb::IMessage<BigQuerySource>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down
Loading

0 comments on commit 34dc1ce

Please sign in to comment.