Merge platform/external/python/python-api-core v2.3.0

Inital commit of python-api-core 2.3.0 with history

Added:
- Android.bp
- MODULE_LICENSE_APACHE2
- NOTICE
- METADATA

Bug: 154879379
Bug: 209463871
Test: None

Change-Id: I5060e5ab4c8ebec256df4fb7a75a2ed03b5abbf4
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..b821a42
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,33 @@
+// Copyright 2022 Google Inc. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+python_library {
+    name: "py-python-api-core",
+    host_supported: true,
+    srcs: [
+        "google/api_core/future/*.py",
+        "google/api_core/gapic_v1/*.py",
+        "google/api_core/operations_v1/*.py",
+        "google/api_core/operations_v1/transports/*.py",
+        "google/api_core/*.py",
+    ],
+    version: {
+        py2: {
+            enabled: true,
+        },
+        py3: {
+            enabled: true,
+        },
+    },
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..cfe802c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,18 @@
+name: "python-api-core"
+description:
+    "This library is not meant to stand-alone. Instead it defines common "
+    "helpers used by all Google API clients."
+
+third_party {
+  url {
+    type: HOMEPAGE
+    value: "https://pypi.org/project/google-api-core/"
+  }
+  url {
+    type: GIT
+    value: "https://github.com/googleapis/python-api-core"
+  }
+  version: "v2.3.0"
+  last_upgrade_date { year: 2022 month: 1 day: 4 }
+  license_type: NOTICE
+}
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_APACHE2
diff --git a/NOTICE b/NOTICE
new file mode 120000
index 0000000..7a694c9
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
+LICENSE
\ No newline at end of file