Show / Hide Table of Contents

Class GetObjectSignedUrlArgs

Inheritance
System.Object
InputArgs
InvokeArgs
GetObjectSignedUrlArgs
Inherited Members
InvokeArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Storage
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class GetObjectSignedUrlArgs : InvokeArgs

Constructors

View Source

GetObjectSignedUrlArgs()

Declaration
public GetObjectSignedUrlArgs()

Properties

View Source

Bucket

The name of the bucket to read the object from

Declaration
public string Bucket { get; set; }
Property Value
Type Description
System.String
View Source

ContentMd5

The MD5 digest value in Base64. Typically retrieved from google_storage_bucket_object.object.md5hash attribute. If you provide this in the datasource, the client (e.g. browser, curl) must provide the Content-MD5 HTTP header with this same value in its request.

Declaration
public string ContentMd5 { get; set; }
Property Value
Type Description
System.String
View Source

ContentType

If you specify this in the datasource, the client must provide the Content-Type HTTP header with the same value in its request.

Declaration
public string ContentType { get; set; }
Property Value
Type Description
System.String
View Source

Credentials

What Google service account credentials json should be used to sign the URL. This data source checks the following locations for credentials, in order of preference: data source credentials attribute, provider credentials attribute and finally the GOOGLE_APPLICATION_CREDENTIALS environment variable.

Declaration
public string Credentials { get; set; }
Property Value
Type Description
System.String
View Source

Duration

For how long shall the signed URL be valid (defaults to 1 hour - i.e. 1h). See here for info on valid duration formats.

Declaration
public string Duration { get; set; }
Property Value
Type Description
System.String
View Source

ExtensionHeaders

As needed. The server checks to make sure that the client provides matching values in requests using the signed URL. Any header starting with x-goog- is accepted but see the Google Docs for list of headers that are supported by Google.

Declaration
public Dictionary<string, string> ExtensionHeaders { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>
View Source

HttpMethod

What HTTP Method will the signed URL allow (defaults to GET)

Declaration
public string HttpMethod { get; set; }
Property Value
Type Description
System.String
View Source

Path

The full path to the object inside the bucket

Declaration
public string Path { get; set; }
Property Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.