GenerateUploadUrlRequest class final

Request of GenerateSourceUploadUrl method.

Inheritance
  • Object
  • ProtoMessage
  • GenerateUploadUrlRequest

Constructors

GenerateUploadUrlRequest({required String parent, String kmsKeyName = '', Environment environment = Environment.$default})
GenerateUploadUrlRequest.fromJson(Object? j)
factory

Properties

environment Environment
The function environment the generated upload url will be used for. The upload url for 2nd Gen functions can also be used for 1st gen functions, but not vice versa. If not specified, 2nd generation-style upload URLs are generated.
final
hashCode int
The hash code for this object.
no setterinherited
kmsKeyName String
Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an upload url and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the consumer project during the function deployment.
final
parent String
Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format projects/*/locations/*.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String