class Google::Apis::FirebasehostingV1beta1::CloudRunRewrite

A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error).

Attributes

region[RW]

Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied. Corresponds to the JSON property `region` @return [String]

service_id[RW]

Required. User-defined ID of the Cloud Run service. Corresponds to the JSON property `serviceId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebasehosting_v1beta1/classes.rb, line 246
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firebasehosting_v1beta1/classes.rb, line 251
def update!(**args)
  @region = args[:region] if args.key?(:region)
  @service_id = args[:service_id] if args.key?(:service_id)
end