I have credentials for a google storage account and i want to know how to access it via C# or Python or any language. This is not an account created by me but by a company i freelance for. How to access the Cloud Bucket and see what files are in their and access it. ..
I have to read google bucket files which are in xlsx format. The file structure in the bucket look like bucket_name folder_name_1 file_name_1 folder_name_2 folder_name_3 file_name_3 The python snippet looks like def main(): storage_client = storage.Client.from_service_account_json( Constants.GCP_CRENDENTIALS) bucket = storage_client.bucket(Constants.GCP_BUCKET_NAME) blob = bucket.blob(folder_name_2 + ‘/’ + Constants.GCP_FILE_NAME) data_bytes = blob.download_as_bytes() df = pd.read_excel(data_bytes, engine=’openpyxl’) print(df) ..
I’ve set the permissions to public for the object. If i copy the link into the browser then the image will automatically download (I would like to stop that) and then the following error is shown. Any tips / idea how to get my picture to display? The following statement at the end of uploading ..
I have a KubeFlow Pipeline up and running on a VM in GCP with MiniKF I create the pipeline using a Jupyter Notebook server with image jupyter-kale:4a5d7e63-9f74f267 and python. The first part of the pipeline is doing the dataprep, it downloads images and saves them to a PVC. This all works just fine but I ..