diff --git a/packages/google-cloud-datacatalog/protos/protos.json b/packages/google-cloud-datacatalog/protos/protos.json new file mode 100644 index 00000000000..4141477da02 --- /dev/null +++ b/packages/google-cloud-datacatalog/protos/protos.json @@ -0,0 +1,2105 @@ +{ + "nested": { + "google": { + "nested": { + "protobuf": { + "options": { + "go_package": "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor", + "java_package": "com.google.protobuf", + "java_outer_classname": "DescriptorProtos", + "csharp_namespace": "Google.Protobuf.Reflection", + "objc_class_prefix": "GPB", + "cc_enable_arenas": true, + "optimize_for": "SPEED" + }, + "nested": { + "Timestamp": { + "fields": { + "seconds": { + "type": "int64", + "id": 1 + }, + "nanos": { + "type": "int32", + "id": 2 + } + } + }, + "FileDescriptorSet": { + "fields": { + "file": { + "rule": "repeated", + "type": "FileDescriptorProto", + "id": 1 + } + } + }, + "FileDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "package": { + "type": "string", + "id": 2 + }, + "dependency": { + "rule": "repeated", + "type": "string", + "id": 3 + }, + "publicDependency": { + "rule": "repeated", + "type": "int32", + "id": 10, + "options": { + "packed": false + } + }, + "weakDependency": { + "rule": "repeated", + "type": "int32", + "id": 11, + "options": { + "packed": false + } + }, + "messageType": { + "rule": "repeated", + "type": "DescriptorProto", + "id": 4 + }, + "enumType": { + "rule": "repeated", + "type": "EnumDescriptorProto", + "id": 5 + }, + "service": { + "rule": "repeated", + "type": "ServiceDescriptorProto", + "id": 6 + }, + "extension": { + "rule": "repeated", + "type": "FieldDescriptorProto", + "id": 7 + }, + "options": { + "type": "FileOptions", + "id": 8 + }, + "sourceCodeInfo": { + "type": "SourceCodeInfo", + "id": 9 + }, + "syntax": { + "type": "string", + "id": 12 + } + } + }, + "DescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "field": { + "rule": "repeated", + "type": "FieldDescriptorProto", + "id": 2 + }, + "extension": { + "rule": "repeated", + "type": "FieldDescriptorProto", + "id": 6 + }, + "nestedType": { + "rule": "repeated", + "type": "DescriptorProto", + "id": 3 + }, + "enumType": { + "rule": "repeated", + "type": "EnumDescriptorProto", + "id": 4 + }, + "extensionRange": { + "rule": "repeated", + "type": "ExtensionRange", + "id": 5 + }, + "oneofDecl": { + "rule": "repeated", + "type": "OneofDescriptorProto", + "id": 8 + }, + "options": { + "type": "MessageOptions", + "id": 7 + }, + "reservedRange": { + "rule": "repeated", + "type": "ReservedRange", + "id": 9 + }, + "reservedName": { + "rule": "repeated", + "type": "string", + "id": 10 + } + }, + "nested": { + "ExtensionRange": { + "fields": { + "start": { + "type": "int32", + "id": 1 + }, + "end": { + "type": "int32", + "id": 2 + }, + "options": { + "type": "ExtensionRangeOptions", + "id": 3 + } + } + }, + "ReservedRange": { + "fields": { + "start": { + "type": "int32", + "id": 1 + }, + "end": { + "type": "int32", + "id": 2 + } + } + } + } + }, + "ExtensionRangeOptions": { + "fields": { + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ] + }, + "FieldDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "number": { + "type": "int32", + "id": 3 + }, + "label": { + "type": "Label", + "id": 4 + }, + "type": { + "type": "Type", + "id": 5 + }, + "typeName": { + "type": "string", + "id": 6 + }, + "extendee": { + "type": "string", + "id": 2 + }, + "defaultValue": { + "type": "string", + "id": 7 + }, + "oneofIndex": { + "type": "int32", + "id": 9 + }, + "jsonName": { + "type": "string", + "id": 10 + }, + "options": { + "type": "FieldOptions", + "id": 8 + } + }, + "nested": { + "Type": { + "values": { + "TYPE_DOUBLE": 1, + "TYPE_FLOAT": 2, + "TYPE_INT64": 3, + "TYPE_UINT64": 4, + "TYPE_INT32": 5, + "TYPE_FIXED64": 6, + "TYPE_FIXED32": 7, + "TYPE_BOOL": 8, + "TYPE_STRING": 9, + "TYPE_GROUP": 10, + "TYPE_MESSAGE": 11, + "TYPE_BYTES": 12, + "TYPE_UINT32": 13, + "TYPE_ENUM": 14, + "TYPE_SFIXED32": 15, + "TYPE_SFIXED64": 16, + "TYPE_SINT32": 17, + "TYPE_SINT64": 18 + } + }, + "Label": { + "values": { + "LABEL_OPTIONAL": 1, + "LABEL_REQUIRED": 2, + "LABEL_REPEATED": 3 + } + } + } + }, + "OneofDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "options": { + "type": "OneofOptions", + "id": 2 + } + } + }, + "EnumDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "value": { + "rule": "repeated", + "type": "EnumValueDescriptorProto", + "id": 2 + }, + "options": { + "type": "EnumOptions", + "id": 3 + }, + "reservedRange": { + "rule": "repeated", + "type": "EnumReservedRange", + "id": 4 + }, + "reservedName": { + "rule": "repeated", + "type": "string", + "id": 5 + } + }, + "nested": { + "EnumReservedRange": { + "fields": { + "start": { + "type": "int32", + "id": 1 + }, + "end": { + "type": "int32", + "id": 2 + } + } + } + } + }, + "EnumValueDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "number": { + "type": "int32", + "id": 2 + }, + "options": { + "type": "EnumValueOptions", + "id": 3 + } + } + }, + "ServiceDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "method": { + "rule": "repeated", + "type": "MethodDescriptorProto", + "id": 2 + }, + "options": { + "type": "ServiceOptions", + "id": 3 + } + } + }, + "MethodDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "inputType": { + "type": "string", + "id": 2 + }, + "outputType": { + "type": "string", + "id": 3 + }, + "options": { + "type": "MethodOptions", + "id": 4 + }, + "clientStreaming": { + "type": "bool", + "id": 5, + "options": { + "default": false + } + }, + "serverStreaming": { + "type": "bool", + "id": 6, + "options": { + "default": false + } + } + } + }, + "FileOptions": { + "fields": { + "javaPackage": { + "type": "string", + "id": 1 + }, + "javaOuterClassname": { + "type": "string", + "id": 8 + }, + "javaMultipleFiles": { + "type": "bool", + "id": 10, + "options": { + "default": false + } + }, + "javaGenerateEqualsAndHash": { + "type": "bool", + "id": 20, + "options": { + "deprecated": true + } + }, + "javaStringCheckUtf8": { + "type": "bool", + "id": 27, + "options": { + "default": false + } + }, + "optimizeFor": { + "type": "OptimizeMode", + "id": 9, + "options": { + "default": "SPEED" + } + }, + "goPackage": { + "type": "string", + "id": 11 + }, + "ccGenericServices": { + "type": "bool", + "id": 16, + "options": { + "default": false + } + }, + "javaGenericServices": { + "type": "bool", + "id": 17, + "options": { + "default": false + } + }, + "pyGenericServices": { + "type": "bool", + "id": 18, + "options": { + "default": false + } + }, + "phpGenericServices": { + "type": "bool", + "id": 42, + "options": { + "default": false + } + }, + "deprecated": { + "type": "bool", + "id": 23, + "options": { + "default": false + } + }, + "ccEnableArenas": { + "type": "bool", + "id": 31, + "options": { + "default": false + } + }, + "objcClassPrefix": { + "type": "string", + "id": 36 + }, + "csharpNamespace": { + "type": "string", + "id": 37 + }, + "swiftPrefix": { + "type": "string", + "id": 39 + }, + "phpClassPrefix": { + "type": "string", + "id": 40 + }, + "phpNamespace": { + "type": "string", + "id": 41 + }, + "phpMetadataNamespace": { + "type": "string", + "id": 44 + }, + "rubyPackage": { + "type": "string", + "id": 45 + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "reserved": [ + [ + 38, + 38 + ] + ], + "nested": { + "OptimizeMode": { + "values": { + "SPEED": 1, + "CODE_SIZE": 2, + "LITE_RUNTIME": 3 + } + } + } + }, + "MessageOptions": { + "fields": { + "messageSetWireFormat": { + "type": "bool", + "id": 1, + "options": { + "default": false + } + }, + "noStandardDescriptorAccessor": { + "type": "bool", + "id": 2, + "options": { + "default": false + } + }, + "deprecated": { + "type": "bool", + "id": 3, + "options": { + "default": false + } + }, + "mapEntry": { + "type": "bool", + "id": 7 + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "reserved": [ + [ + 8, + 8 + ], + [ + 9, + 9 + ] + ] + }, + "FieldOptions": { + "fields": { + "ctype": { + "type": "CType", + "id": 1, + "options": { + "default": "STRING" + } + }, + "packed": { + "type": "bool", + "id": 2 + }, + "jstype": { + "type": "JSType", + "id": 6, + "options": { + "default": "JS_NORMAL" + } + }, + "lazy": { + "type": "bool", + "id": 5, + "options": { + "default": false + } + }, + "deprecated": { + "type": "bool", + "id": 3, + "options": { + "default": false + } + }, + "weak": { + "type": "bool", + "id": 10, + "options": { + "default": false + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "reserved": [ + [ + 4, + 4 + ] + ], + "nested": { + "CType": { + "values": { + "STRING": 0, + "CORD": 1, + "STRING_PIECE": 2 + } + }, + "JSType": { + "values": { + "JS_NORMAL": 0, + "JS_STRING": 1, + "JS_NUMBER": 2 + } + } + } + }, + "OneofOptions": { + "fields": { + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ] + }, + "EnumOptions": { + "fields": { + "allowAlias": { + "type": "bool", + "id": 2 + }, + "deprecated": { + "type": "bool", + "id": 3, + "options": { + "default": false + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "reserved": [ + [ + 5, + 5 + ] + ] + }, + "EnumValueOptions": { + "fields": { + "deprecated": { + "type": "bool", + "id": 1, + "options": { + "default": false + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ] + }, + "ServiceOptions": { + "fields": { + "deprecated": { + "type": "bool", + "id": 33, + "options": { + "default": false + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ] + }, + "MethodOptions": { + "fields": { + "deprecated": { + "type": "bool", + "id": 33, + "options": { + "default": false + } + }, + "idempotencyLevel": { + "type": "IdempotencyLevel", + "id": 34, + "options": { + "default": "IDEMPOTENCY_UNKNOWN" + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "nested": { + "IdempotencyLevel": { + "values": { + "IDEMPOTENCY_UNKNOWN": 0, + "NO_SIDE_EFFECTS": 1, + "IDEMPOTENT": 2 + } + } + } + }, + "UninterpretedOption": { + "fields": { + "name": { + "rule": "repeated", + "type": "NamePart", + "id": 2 + }, + "identifierValue": { + "type": "string", + "id": 3 + }, + "positiveIntValue": { + "type": "uint64", + "id": 4 + }, + "negativeIntValue": { + "type": "int64", + "id": 5 + }, + "doubleValue": { + "type": "double", + "id": 6 + }, + "stringValue": { + "type": "bytes", + "id": 7 + }, + "aggregateValue": { + "type": "string", + "id": 8 + } + }, + "nested": { + "NamePart": { + "fields": { + "namePart": { + "rule": "required", + "type": "string", + "id": 1 + }, + "isExtension": { + "rule": "required", + "type": "bool", + "id": 2 + } + } + } + } + }, + "SourceCodeInfo": { + "fields": { + "location": { + "rule": "repeated", + "type": "Location", + "id": 1 + } + }, + "nested": { + "Location": { + "fields": { + "path": { + "rule": "repeated", + "type": "int32", + "id": 1 + }, + "span": { + "rule": "repeated", + "type": "int32", + "id": 2 + }, + "leadingComments": { + "type": "string", + "id": 3 + }, + "trailingComments": { + "type": "string", + "id": 4 + }, + "leadingDetachedComments": { + "rule": "repeated", + "type": "string", + "id": 6 + } + } + } + } + }, + "GeneratedCodeInfo": { + "fields": { + "annotation": { + "rule": "repeated", + "type": "Annotation", + "id": 1 + } + }, + "nested": { + "Annotation": { + "fields": { + "path": { + "rule": "repeated", + "type": "int32", + "id": 1 + }, + "sourceFile": { + "type": "string", + "id": 2 + }, + "begin": { + "type": "int32", + "id": 3 + }, + "end": { + "type": "int32", + "id": 4 + } + } + } + } + }, + "Empty": { + "fields": {} + }, + "FieldMask": { + "fields": { + "paths": { + "rule": "repeated", + "type": "string", + "id": 1 + } + } + } + } + }, + "cloud": { + "nested": { + "datacatalog": { + "nested": { + "v1beta1": { + "options": { + "cc_enable_arenas": true, + "go_package": "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog", + "java_multiple_files": true, + "java_package": "com.google.cloud.datacatalog" + }, + "nested": { + "SystemTimestamps": { + "fields": { + "createTime": { + "type": "google.protobuf.Timestamp", + "id": 1 + }, + "updateTime": { + "type": "google.protobuf.Timestamp", + "id": 2 + }, + "expireTime": { + "type": "google.protobuf.Timestamp", + "id": 3 + } + } + }, + "Schema": { + "fields": { + "columns": { + "rule": "repeated", + "type": "ColumnSchema", + "id": 2 + } + } + }, + "ColumnSchema": { + "fields": { + "column": { + "type": "string", + "id": 6 + }, + "type": { + "type": "string", + "id": 1 + }, + "description": { + "type": "string", + "id": 2 + }, + "mode": { + "type": "string", + "id": 3 + }, + "subcolumns": { + "rule": "repeated", + "type": "ColumnSchema", + "id": 7 + } + } + }, + "Tag": { + "oneofs": { + "scope": { + "oneof": [ + "column" + ] + } + }, + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "template": { + "type": "string", + "id": 2 + }, + "templateDisplayName": { + "type": "string", + "id": 5 + }, + "column": { + "type": "string", + "id": 4 + }, + "fields": { + "keyType": "string", + "type": "TagField", + "id": 3 + } + } + }, + "TagField": { + "oneofs": { + "kind": { + "oneof": [ + "doubleValue", + "stringValue", + "boolValue", + "timestampValue", + "enumValue" + ] + } + }, + "fields": { + "displayName": { + "type": "string", + "id": 1 + }, + "doubleValue": { + "type": "double", + "id": 2 + }, + "stringValue": { + "type": "string", + "id": 3 + }, + "boolValue": { + "type": "bool", + "id": 4 + }, + "timestampValue": { + "type": "google.protobuf.Timestamp", + "id": 5 + }, + "enumValue": { + "type": "EnumValue", + "id": 6 + } + }, + "nested": { + "EnumValue": { + "fields": { + "displayName": { + "type": "string", + "id": 1 + } + } + } + } + }, + "TagTemplate": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "displayName": { + "type": "string", + "id": 2 + }, + "fields": { + "keyType": "string", + "type": "TagTemplateField", + "id": 3 + } + } + }, + "TagTemplateField": { + "fields": { + "displayName": { + "type": "string", + "id": 1 + }, + "type": { + "type": "FieldType", + "id": 2 + } + } + }, + "FieldType": { + "oneofs": { + "typeDecl": { + "oneof": [ + "primitiveType", + "enumType" + ] + } + }, + "fields": { + "primitiveType": { + "type": "PrimitiveType", + "id": 1 + }, + "enumType": { + "type": "EnumType", + "id": 2 + } + }, + "nested": { + "EnumType": { + "fields": { + "allowedValues": { + "rule": "repeated", + "type": "EnumValue", + "id": 1 + } + }, + "nested": { + "EnumValue": { + "fields": { + "displayName": { + "type": "string", + "id": 1 + } + } + } + } + }, + "PrimitiveType": { + "values": { + "PRIMITIVE_TYPE_UNSPECIFIED": 0, + "DOUBLE": 1, + "STRING": 2, + "BOOL": 3, + "TIMESTAMP": 4 + } + } + } + }, + "BigQueryTableSpec": { + "oneofs": { + "typeSpec": { + "oneof": [ + "viewSpec", + "tableSpec" + ] + } + }, + "fields": { + "tableSourceType": { + "type": "TableSourceType", + "id": 1 + }, + "viewSpec": { + "type": "ViewSpec", + "id": 2 + }, + "tableSpec": { + "type": "TableSpec", + "id": 3 + } + } + }, + "TableSourceType": { + "values": { + "TABLE_SOURCE_TYPE_UNSPECIFIED": 0, + "BIGQUERY_VIEW": 2, + "BIGQUERY_TABLE": 5 + } + }, + "ViewSpec": { + "fields": { + "viewQuery": { + "type": "string", + "id": 1 + } + } + }, + "TableSpec": { + "fields": { + "groupedEntry": { + "type": "string", + "id": 1 + } + } + }, + "BigQueryDateShardedSpec": { + "fields": { + "dataset": { + "type": "string", + "id": 1 + }, + "tablePrefix": { + "type": "string", + "id": 2 + }, + "shardCount": { + "type": "int64", + "id": 3 + } + } + }, + "SearchCatalogResult": { + "fields": { + "searchResultType": { + "type": "SearchResultType", + "id": 1 + }, + "searchResultSubtype": { + "type": "string", + "id": 2 + }, + "relativeResourceName": { + "type": "string", + "id": 3 + }, + "linkedResource": { + "type": "string", + "id": 4 + } + } + }, + "SearchResultType": { + "values": { + "SEARCH_RESULT_TYPE_UNSPECIFIED": 0, + "ENTRY": 1, + "TAG_TEMPLATE": 2, + "ENTRY_GROUP": 3 + } + }, + "DataCatalog": { + "options": { + "(google.api.default_host)": "datacatalog.googleapis.com", + "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" + }, + "methods": { + "SearchCatalog": { + "requestType": "SearchCatalogRequest", + "responseType": "SearchCatalogResponse", + "options": { + "(google.api.http).post": "/v1beta1/catalog:search", + "(google.api.http).body": "*" + } + }, + "UpdateEntry": { + "requestType": "UpdateEntryRequest", + "responseType": "Entry", + "options": { + "(google.api.http).patch": "/v1beta1/{entry.name=projects/*/locations/*/entryGroups/*/entries/*}", + "(google.api.http).body": "entry" + } + }, + "GetEntry": { + "requestType": "GetEntryRequest", + "responseType": "Entry", + "options": { + "(google.api.http).get": "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*}" + } + }, + "LookupEntry": { + "requestType": "LookupEntryRequest", + "responseType": "Entry", + "options": { + "(google.api.http).get": "/v1beta1/entries:lookup" + } + }, + "CreateTagTemplate": { + "requestType": "CreateTagTemplateRequest", + "responseType": "TagTemplate", + "options": { + "(google.api.http).post": "/v1beta1/{parent=projects/*/locations/*}/tagTemplates", + "(google.api.http).body": "tag_template" + } + }, + "GetTagTemplate": { + "requestType": "GetTagTemplateRequest", + "responseType": "TagTemplate", + "options": { + "(google.api.http).get": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}" + } + }, + "UpdateTagTemplate": { + "requestType": "UpdateTagTemplateRequest", + "responseType": "TagTemplate", + "options": { + "(google.api.http).patch": "/v1beta1/{tag_template.name=projects/*/locations/*/tagTemplates/*}", + "(google.api.http).body": "tag_template" + } + }, + "DeleteTagTemplate": { + "requestType": "DeleteTagTemplateRequest", + "responseType": "google.protobuf.Empty", + "options": { + "(google.api.http).delete": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}" + } + }, + "CreateTagTemplateField": { + "requestType": "CreateTagTemplateFieldRequest", + "responseType": "TagTemplateField", + "options": { + "(google.api.http).post": "/v1beta1/{parent=projects/*/locations/*/tagTemplates/*}/fields", + "(google.api.http).body": "tag_template_field" + } + }, + "UpdateTagTemplateField": { + "requestType": "UpdateTagTemplateFieldRequest", + "responseType": "TagTemplateField", + "options": { + "(google.api.http).patch": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}", + "(google.api.http).body": "tag_template_field" + } + }, + "RenameTagTemplateField": { + "requestType": "RenameTagTemplateFieldRequest", + "responseType": "TagTemplateField", + "options": { + "(google.api.http).post": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename", + "(google.api.http).body": "*" + } + }, + "DeleteTagTemplateField": { + "requestType": "DeleteTagTemplateFieldRequest", + "responseType": "google.protobuf.Empty", + "options": { + "(google.api.http).delete": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" + } + }, + "CreateTag": { + "requestType": "CreateTagRequest", + "responseType": "Tag", + "options": { + "(google.api.http).post": "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags", + "(google.api.http).body": "tag" + } + }, + "UpdateTag": { + "requestType": "UpdateTagRequest", + "responseType": "Tag", + "options": { + "(google.api.http).patch": "/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}", + "(google.api.http).body": "tag" + } + }, + "DeleteTag": { + "requestType": "DeleteTagRequest", + "responseType": "google.protobuf.Empty", + "options": { + "(google.api.http).delete": "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}" + } + }, + "ListTags": { + "requestType": "ListTagsRequest", + "responseType": "ListTagsResponse", + "options": { + "(google.api.http).get": "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" + } + }, + "SetIamPolicy": { + "requestType": "google.iam.v1.SetIamPolicyRequest", + "responseType": "google.iam.v1.Policy", + "options": { + "(google.api.http).post": "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy", + "(google.api.http).body": "*" + } + }, + "GetIamPolicy": { + "requestType": "google.iam.v1.GetIamPolicyRequest", + "responseType": "google.iam.v1.Policy", + "options": { + "(google.api.http).post": "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy", + "(google.api.http).body": "*" + } + }, + "TestIamPermissions": { + "requestType": "google.iam.v1.TestIamPermissionsRequest", + "responseType": "google.iam.v1.TestIamPermissionsResponse", + "options": { + "(google.api.http).post": "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions", + "(google.api.http).body": "*" + } + } + } + }, + "SearchCatalogRequest": { + "fields": { + "scope": { + "type": "Scope", + "id": 6 + }, + "query": { + "type": "string", + "id": 1 + }, + "pageSize": { + "type": "int32", + "id": 2 + }, + "pageToken": { + "type": "string", + "id": 3 + }, + "orderBy": { + "type": "string", + "id": 5 + } + }, + "nested": { + "Scope": { + "fields": { + "includeOrgIds": { + "rule": "repeated", + "type": "string", + "id": 2 + }, + "includeProjectIds": { + "rule": "repeated", + "type": "string", + "id": 3 + }, + "includeGcpPublicDatasets": { + "type": "bool", + "id": 7 + } + } + } + } + }, + "SearchCatalogResponse": { + "fields": { + "results": { + "rule": "repeated", + "type": "SearchCatalogResult", + "id": 1 + }, + "nextPageToken": { + "type": "string", + "id": 3 + } + } + }, + "UpdateEntryRequest": { + "fields": { + "entry": { + "type": "Entry", + "id": 1 + }, + "updateMask": { + "type": "google.protobuf.FieldMask", + "id": 2 + } + } + }, + "GetEntryRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + } + } + }, + "LookupEntryRequest": { + "oneofs": { + "targetName": { + "oneof": [ + "linkedResource", + "sqlResource" + ] + } + }, + "fields": { + "linkedResource": { + "type": "string", + "id": 1 + }, + "sqlResource": { + "type": "string", + "id": 3 + } + } + }, + "Entry": { + "oneofs": { + "typeSpec": { + "oneof": [ + "bigqueryTableSpec", + "bigqueryDateShardedSpec" + ] + } + }, + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "linkedResource": { + "type": "string", + "id": 9 + }, + "type": { + "type": "EntryType", + "id": 2 + }, + "bigqueryTableSpec": { + "type": "BigQueryTableSpec", + "id": 12 + }, + "bigqueryDateShardedSpec": { + "type": "BigQueryDateShardedSpec", + "id": 15 + }, + "displayName": { + "type": "string", + "id": 3 + }, + "description": { + "type": "string", + "id": 4 + }, + "schema": { + "type": "Schema", + "id": 5 + }, + "sourceSystemTimestamps": { + "type": "SystemTimestamps", + "id": 7 + } + } + }, + "CreateTagTemplateRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1 + }, + "tagTemplateId": { + "type": "string", + "id": 3 + }, + "tagTemplate": { + "type": "TagTemplate", + "id": 2 + } + } + }, + "GetTagTemplateRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + } + } + }, + "UpdateTagTemplateRequest": { + "fields": { + "tagTemplate": { + "type": "TagTemplate", + "id": 1 + }, + "updateMask": { + "type": "google.protobuf.FieldMask", + "id": 2 + } + } + }, + "DeleteTagTemplateRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "force": { + "type": "bool", + "id": 2 + } + } + }, + "CreateTagRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1 + }, + "tag": { + "type": "Tag", + "id": 2 + } + } + }, + "UpdateTagRequest": { + "fields": { + "tag": { + "type": "Tag", + "id": 1 + }, + "updateMask": { + "type": "google.protobuf.FieldMask", + "id": 2 + } + } + }, + "DeleteTagRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + } + } + }, + "CreateTagTemplateFieldRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1 + }, + "tagTemplateFieldId": { + "type": "string", + "id": 2 + }, + "tagTemplateField": { + "type": "TagTemplateField", + "id": 3 + } + } + }, + "UpdateTagTemplateFieldRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "tagTemplateField": { + "type": "TagTemplateField", + "id": 2 + }, + "updateMask": { + "type": "google.protobuf.FieldMask", + "id": 3 + } + } + }, + "RenameTagTemplateFieldRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "newTagTemplateFieldId": { + "type": "string", + "id": 2 + } + } + }, + "EntryType": { + "values": { + "ENTRY_TYPE_UNSPECIFIED": 0, + "TABLE": 2, + "DATA_STREAM": 3 + } + }, + "DeleteTagTemplateFieldRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "force": { + "type": "bool", + "id": 2 + } + } + }, + "ListTagsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1 + }, + "pageSize": { + "type": "int32", + "id": 2 + }, + "pageToken": { + "type": "string", + "id": 3 + } + } + }, + "ListTagsResponse": { + "fields": { + "tags": { + "rule": "repeated", + "type": "Tag", + "id": 1 + }, + "nextPageToken": { + "type": "string", + "id": 2 + } + } + } + } + } + } + } + } + }, + "api": { + "options": { + "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations", + "java_multiple_files": true, + "java_outer_classname": "ClientProto", + "java_package": "com.google.api", + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true + }, + "nested": { + "http": { + "type": "HttpRule", + "id": 72295728, + "extend": "google.protobuf.MethodOptions" + }, + "Http": { + "fields": { + "rules": { + "rule": "repeated", + "type": "HttpRule", + "id": 1 + }, + "fullyDecodeReservedExpansion": { + "type": "bool", + "id": 2 + } + } + }, + "HttpRule": { + "oneofs": { + "pattern": { + "oneof": [ + "get", + "put", + "post", + "delete", + "patch", + "custom" + ] + } + }, + "fields": { + "selector": { + "type": "string", + "id": 1 + }, + "get": { + "type": "string", + "id": 2 + }, + "put": { + "type": "string", + "id": 3 + }, + "post": { + "type": "string", + "id": 4 + }, + "delete": { + "type": "string", + "id": 5 + }, + "patch": { + "type": "string", + "id": 6 + }, + "custom": { + "type": "CustomHttpPattern", + "id": 8 + }, + "body": { + "type": "string", + "id": 7 + }, + "responseBody": { + "type": "string", + "id": 12 + }, + "additionalBindings": { + "rule": "repeated", + "type": "HttpRule", + "id": 11 + } + } + }, + "CustomHttpPattern": { + "fields": { + "kind": { + "type": "string", + "id": 1 + }, + "path": { + "type": "string", + "id": 2 + } + } + }, + "resourceReference": { + "type": "google.api.ResourceReference", + "id": 1055, + "extend": "google.protobuf.FieldOptions" + }, + "resource": { + "type": "google.api.ResourceDescriptor", + "id": 1053, + "extend": "google.protobuf.MessageOptions" + }, + "ResourceDescriptor": { + "fields": { + "type": { + "type": "string", + "id": 1 + }, + "pattern": { + "rule": "repeated", + "type": "string", + "id": 2 + }, + "nameField": { + "type": "string", + "id": 3 + }, + "history": { + "type": "History", + "id": 4 + } + }, + "nested": { + "History": { + "values": { + "HISTORY_UNSPECIFIED": 0, + "ORIGINALLY_SINGLE_PATTERN": 1, + "FUTURE_MULTI_PATTERN": 2 + } + } + } + }, + "ResourceReference": { + "fields": { + "type": { + "type": "string", + "id": 1 + }, + "childType": { + "type": "string", + "id": 2 + } + } + }, + "methodSignature": { + "rule": "repeated", + "type": "string", + "id": 1051, + "extend": "google.protobuf.MethodOptions" + }, + "defaultHost": { + "type": "string", + "id": 1049, + "extend": "google.protobuf.ServiceOptions" + }, + "oauthScopes": { + "type": "string", + "id": 1050, + "extend": "google.protobuf.ServiceOptions" + } + } + }, + "iam": { + "nested": { + "v1": { + "options": { + "cc_enable_arenas": true, + "csharp_namespace": "Google.Cloud.Iam.V1", + "go_package": "google.golang.org/genproto/googleapis/iam/v1;iam", + "java_multiple_files": true, + "java_outer_classname": "PolicyProto", + "java_package": "com.google.iam.v1", + "php_namespace": "Google\\Cloud\\Iam\\V1" + }, + "nested": { + "IAMPolicy": { + "methods": { + "SetIamPolicy": { + "requestType": "SetIamPolicyRequest", + "responseType": "Policy", + "options": { + "(google.api.http).post": "/v1/{resource=**}:setIamPolicy", + "(google.api.http).body": "*" + } + }, + "GetIamPolicy": { + "requestType": "GetIamPolicyRequest", + "responseType": "Policy", + "options": { + "(google.api.http).post": "/v1/{resource=**}:getIamPolicy", + "(google.api.http).body": "*" + } + }, + "TestIamPermissions": { + "requestType": "TestIamPermissionsRequest", + "responseType": "TestIamPermissionsResponse", + "options": { + "(google.api.http).post": "/v1/{resource=**}:testIamPermissions", + "(google.api.http).body": "*" + } + } + } + }, + "SetIamPolicyRequest": { + "fields": { + "resource": { + "type": "string", + "id": 1 + }, + "policy": { + "type": "Policy", + "id": 2 + } + } + }, + "GetIamPolicyRequest": { + "fields": { + "resource": { + "type": "string", + "id": 1 + } + } + }, + "TestIamPermissionsRequest": { + "fields": { + "resource": { + "type": "string", + "id": 1 + }, + "permissions": { + "rule": "repeated", + "type": "string", + "id": 2 + } + } + }, + "TestIamPermissionsResponse": { + "fields": { + "permissions": { + "rule": "repeated", + "type": "string", + "id": 1 + } + } + }, + "Policy": { + "fields": { + "version": { + "type": "int32", + "id": 1 + }, + "bindings": { + "rule": "repeated", + "type": "Binding", + "id": 4 + }, + "etag": { + "type": "bytes", + "id": 3 + } + } + }, + "Binding": { + "fields": { + "role": { + "type": "string", + "id": 1 + }, + "members": { + "rule": "repeated", + "type": "string", + "id": 2 + }, + "condition": { + "type": "google.type.Expr", + "id": 3 + } + } + }, + "PolicyDelta": { + "fields": { + "bindingDeltas": { + "rule": "repeated", + "type": "BindingDelta", + "id": 1 + }, + "auditConfigDeltas": { + "rule": "repeated", + "type": "AuditConfigDelta", + "id": 2 + } + } + }, + "BindingDelta": { + "fields": { + "action": { + "type": "Action", + "id": 1 + }, + "role": { + "type": "string", + "id": 2 + }, + "member": { + "type": "string", + "id": 3 + }, + "condition": { + "type": "google.type.Expr", + "id": 4 + } + }, + "nested": { + "Action": { + "values": { + "ACTION_UNSPECIFIED": 0, + "ADD": 1, + "REMOVE": 2 + } + } + } + }, + "AuditConfigDelta": { + "fields": { + "action": { + "type": "Action", + "id": 1 + }, + "service": { + "type": "string", + "id": 2 + }, + "exemptedMember": { + "type": "string", + "id": 3 + }, + "logType": { + "type": "string", + "id": 4 + } + }, + "nested": { + "Action": { + "values": { + "ACTION_UNSPECIFIED": 0, + "ADD": 1, + "REMOVE": 2 + } + } + } + } + } + } + } + }, + "type": { + "options": { + "go_package": "google.golang.org/genproto/googleapis/type/expr;expr", + "java_multiple_files": true, + "java_outer_classname": "ExprProto", + "java_package": "com.google.type", + "objc_class_prefix": "GTP" + }, + "nested": { + "Expr": { + "fields": { + "expression": { + "type": "string", + "id": 1 + }, + "title": { + "type": "string", + "id": 2 + }, + "description": { + "type": "string", + "id": 3 + }, + "location": { + "type": "string", + "id": 4 + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/packages/google-cloud-datacatalog/src/service_proto_list.json b/packages/google-cloud-datacatalog/src/service_proto_list.json new file mode 100644 index 00000000000..20cd9f778e9 --- /dev/null +++ b/packages/google-cloud-datacatalog/src/service_proto_list.json @@ -0,0 +1 @@ +["../protos/google/cloud/datacatalog/v1beta1/timestamps.proto", "../protos/google/cloud/datacatalog/v1beta1/schema.proto", "../protos/google/cloud/datacatalog/v1beta1/tags.proto", "../protos/google/cloud/datacatalog/v1beta1/table_spec.proto", "../protos/google/cloud/datacatalog/v1beta1/search.proto", "../protos/google/cloud/datacatalog/v1beta1/datacatalog.proto"] \ No newline at end of file diff --git a/packages/google-cloud-datacatalog/src/v1beta1/data_catalog_client.js b/packages/google-cloud-datacatalog/src/v1beta1/data_catalog_client.js index 3cdccca5b94..8a2dae3f7a2 100644 --- a/packages/google-cloud-datacatalog/src/v1beta1/data_catalog_client.js +++ b/packages/google-cloud-datacatalog/src/v1beta1/data_catalog_client.js @@ -373,6 +373,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; return this._innerApiCalls.searchCatalog(request, options, callback); @@ -521,6 +522,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -575,6 +577,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -649,6 +652,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; return this._innerApiCalls.lookupEntry(request, options, callback); @@ -711,6 +715,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -765,6 +770,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -832,6 +838,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -887,6 +894,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -960,6 +968,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1042,6 +1051,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1108,6 +1118,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1167,6 +1178,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1238,6 +1250,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1299,6 +1312,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1345,6 +1359,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1447,6 +1462,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1578,6 +1594,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1648,6 +1665,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1723,6 +1741,7 @@ class DataCatalogClient { callback = options; options = {}; } + request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; diff --git a/packages/google-cloud-datacatalog/synth.metadata b/packages/google-cloud-datacatalog/synth.metadata index 73b3fdd92f0..7ac53831bb5 100644 --- a/packages/google-cloud-datacatalog/synth.metadata +++ b/packages/google-cloud-datacatalog/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-07-02T11:36:34.255078Z", + "updateTime": "2019-08-02T11:11:20.312051Z", "sources": [ { "generator": { "name": "artman", - "version": "0.29.3", - "dockerImage": "googleapis/artman@sha256:8900f94a81adaab0238965aa8a7b3648791f4f3a95ee65adc6a56cfcc3753101" + "version": "0.32.0", + "dockerImage": "googleapis/artman@sha256:6929f343c400122d85818195b18613330a12a014bffc1e08499550d40571479d" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5322233f8cbec4d3f8c17feca2507ef27d4a07c9", - "internalRef": "256042411" + "sha": "3a40d3a5f5e5a33fd49888a8a33ed021f65c0ccf", + "internalRef": "261297518" } }, {