Skip to content

Commit

Permalink
Merge branch 'googleapis:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
lqiu96 authored Oct 30, 2023
2 parents 00d8a6a + c83591e commit 47a22f0
Show file tree
Hide file tree
Showing 20 changed files with 417 additions and 92 deletions.
14 changes: 7 additions & 7 deletions google/ai/generativelanguage/v1beta2/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ java_gapic_library(
name = "generativelanguage_java_gapic",
srcs = [":generativelanguage_proto_with_info"],
gapic_yaml = None,
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta2.yaml",
test_deps = [
Expand Down Expand Up @@ -133,7 +133,7 @@ go_proto_library(
go_gapic_library(
name = "generativelanguage_go_gapic",
srcs = [":generativelanguage_proto_with_info"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
importpath = "cloud.google.com/go/ai/generativelanguage/apiv1beta2;generativelanguage",
metadata = True,
release_level = "beta",
Expand Down Expand Up @@ -170,7 +170,7 @@ load(
py_gapic_library(
name = "generativelanguage_py_gapic",
srcs = [":generativelanguage_proto"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta2.yaml",
transport = "grpc+rest",
Expand Down Expand Up @@ -214,7 +214,7 @@ php_proto_library(
php_gapic_library(
name = "generativelanguage_php_gapic",
srcs = [":generativelanguage_proto_with_info"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
migration_mode = "PRE_MIGRATION_SURFACE_ONLY",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta2.yaml",
Expand Down Expand Up @@ -247,7 +247,7 @@ nodejs_gapic_library(
package_name = "@google-ai/generativelanguage",
src = ":generativelanguage_proto_with_info",
extra_protoc_parameters = ["metadata"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
package = "google.ai.generativelanguage.v1beta2",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta2.yaml",
Expand Down Expand Up @@ -289,7 +289,7 @@ ruby_cloud_gapic_library(
name = "generativelanguage_ruby_gapic",
srcs = [":generativelanguage_proto_with_info"],
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-ai-generativelanguage-v1beta2"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta2.yaml",
transport = "grpc+rest",
Expand Down Expand Up @@ -335,7 +335,7 @@ csharp_gapic_library(
name = "generativelanguage_csharp_gapic",
srcs = [":generativelanguage_proto_with_info"],
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta2.yaml",
deps = [
Expand Down
14 changes: 7 additions & 7 deletions google/ai/generativelanguage/v1beta3/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ java_gapic_library(
name = "generativelanguage_java_gapic",
srcs = [":generativelanguage_proto_with_info"],
gapic_yaml = None,
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta3.yaml",
test_deps = [
Expand Down Expand Up @@ -143,7 +143,7 @@ go_proto_library(
go_gapic_library(
name = "generativelanguage_go_gapic",
srcs = [":generativelanguage_proto_with_info"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
importpath = "cloud.google.com/go/ai/generativelanguage/apiv1beta3;generativelanguage",
metadata = True,
release_level = "beta",
Expand Down Expand Up @@ -183,7 +183,7 @@ load(
py_gapic_library(
name = "generativelanguage_py_gapic",
srcs = [":generativelanguage_proto"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta3.yaml",
transport = "grpc+rest",
Expand Down Expand Up @@ -227,7 +227,7 @@ php_proto_library(
php_gapic_library(
name = "generativelanguage_php_gapic",
srcs = [":generativelanguage_proto_with_info"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
migration_mode = "PRE_MIGRATION_SURFACE_ONLY",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta3.yaml",
Expand Down Expand Up @@ -260,7 +260,7 @@ nodejs_gapic_library(
package_name = "@google-ai/generativelanguage",
src = ":generativelanguage_proto_with_info",
extra_protoc_parameters = ["metadata"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
package = "google.ai.generativelanguage.v1beta3",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta3.yaml",
Expand Down Expand Up @@ -302,7 +302,7 @@ ruby_cloud_gapic_library(
name = "generativelanguage_ruby_gapic",
srcs = [":generativelanguage_proto_with_info"],
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-ai-generativelanguage-v1beta3"],
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta3.yaml",
transport = "grpc+rest",
Expand Down Expand Up @@ -349,7 +349,7 @@ csharp_gapic_library(
name = "generativelanguage_csharp_gapic",
srcs = [":generativelanguage_proto_with_info"],
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
grpc_service_config = None,
grpc_service_config = "generativeai_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "generativelanguage_v1beta3.yaml",
deps = [
Expand Down
3 changes: 2 additions & 1 deletion google/cloud/batch/v1/job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,8 @@ message TaskGroup {
int64 task_count = 4;

// Max number of tasks that can run in parallel.
// Default to min(task_count, 1000).
// Default to min(task_count, parallel tasks per job limit).
// See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
// Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
int64 parallelism = 5;

Expand Down
3 changes: 2 additions & 1 deletion google/cloud/batch/v1alpha/job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,8 @@ message TaskGroup {
int64 task_count = 4;

// Max number of tasks that can run in parallel.
// Default to min(task_count, 1000).
// Default to min(task_count, parallel tasks per job limit).
// See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
// Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
int64 parallelism = 5;

Expand Down
1 change: 1 addition & 0 deletions google/cloud/dataplex/v1/dataplex_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ types:
- name: google.cloud.dataplex.v1.DataQualityScanRuleResult
- name: google.cloud.dataplex.v1.DataScanEvent
- name: google.cloud.dataplex.v1.DiscoveryEvent
- name: google.cloud.dataplex.v1.GovernanceEvent
- name: google.cloud.dataplex.v1.JobEvent
- name: google.cloud.dataplex.v1.OperationMetadata
- name: google.cloud.dataplex.v1.SessionEvent
Expand Down
80 changes: 80 additions & 0 deletions google/cloud/dataplex/v1/logs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,86 @@ message SessionEvent {
google.protobuf.Duration unassigned_duration = 8;
}

// Payload associated with Governance related log events.
message GovernanceEvent {
// Information about Entity resource that the log event is associated with.
message Entity {
// Type of entity.
enum EntityType {
// An unspecified Entity type.
ENTITY_TYPE_UNSPECIFIED = 0;

// Table entity type.
TABLE = 1;

// Fileset entity type.
FILESET = 2;
}

// The Entity resource the log event is associated with.
// Format:
// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
string entity = 1 [(google.api.resource_reference) = {
type: "dataplex.googleapis.com/Entity"
}];

// Type of entity.
EntityType entity_type = 2;
}

// Type of governance log event.
enum EventType {
// An unspecified event type.
EVENT_TYPE_UNSPECIFIED = 0;

// Resource IAM policy update event.
RESOURCE_IAM_POLICY_UPDATE = 1;

// BigQuery table create event.
BIGQUERY_TABLE_CREATE = 2;

// BigQuery table update event.
BIGQUERY_TABLE_UPDATE = 3;

// BigQuery table delete event.
BIGQUERY_TABLE_DELETE = 4;

// BigQuery connection create event.
BIGQUERY_CONNECTION_CREATE = 5;

// BigQuery connection update event.
BIGQUERY_CONNECTION_UPDATE = 6;

// BigQuery connection delete event.
BIGQUERY_CONNECTION_DELETE = 7;

// BigQuery taxonomy created.
BIGQUERY_TAXONOMY_CREATE = 10;

// BigQuery policy tag created.
BIGQUERY_POLICY_TAG_CREATE = 11;

// BigQuery policy tag deleted.
BIGQUERY_POLICY_TAG_DELETE = 12;

// BigQuery set iam policy for policy tag.
BIGQUERY_POLICY_TAG_SET_IAM_POLICY = 13;

// Access policy update event.
ACCESS_POLICY_UPDATE = 14;
}

// The log message.
string message = 1;

// The type of the event.
EventType event_type = 2;

// Entity resource information if the log event is associated with a
// specific entity.
optional Entity entity = 3;
}

// These messages contain information about the execution of a datascan.
// The monitored resource is 'DataScan'
// Next ID: 13
Expand Down
2 changes: 0 additions & 2 deletions google/cloud/gkehub/v1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ py_gapic_assembly_pkg(
name = "gkehub-v1-py",
deps = [
":gkehub_py_gapic",
"//google/cloud/gkehub/v1/configmanagement:configmanagement_py_gapic",
"//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_py_gapic",
],
)

Expand Down
9 changes: 9 additions & 0 deletions google/cloud/gkehub/v1/configmanagement/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ go_proto_library(
load(
"@com_google_googleapis_imports//:imports.bzl",
"py_gapic_library",
"py_gapic_assembly_pkg",
)

py_gapic_library(
Expand All @@ -72,6 +73,14 @@ py_gapic_library(
transport = "grpc",
)

# Open Source Packages
py_gapic_assembly_pkg(
name = "configmanagement-v1-py",
deps = [
":configmanagement_py_gapic",
],
)

##############################################################################
# PHP
##############################################################################
Expand Down
9 changes: 9 additions & 0 deletions google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ go_proto_library(
load(
"@com_google_googleapis_imports//:imports.bzl",
"py_gapic_library",
"py_gapic_assembly_pkg",
)

py_gapic_library(
Expand All @@ -71,6 +72,14 @@ py_gapic_library(
transport = "grpc",
)

# Open Source Packages
py_gapic_assembly_pkg(
name = "multiclusteringress-v1-py",
deps = [
":multiclusteringress_py_gapic",
],
)

##############################################################################
# PHP
##############################################################################
Expand Down
Loading

0 comments on commit 47a22f0

Please sign in to comment.