Class: Google::Apis::ComputeAlpha::BackendServiceCloudFunctionBackend
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BackendServiceCloudFunctionBackend
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Configuration of a Cloud Function backend.
Instance Attribute Summary collapse
-
#function_name ⇒ String
Required.
-
#target_project ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceCloudFunctionBackend
constructor
A new instance of BackendServiceCloudFunctionBackend.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ BackendServiceCloudFunctionBackend
Returns a new instance of BackendServiceCloudFunctionBackend
2893 2894 2895 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 2893 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function_name ⇒ String
Required. A cloud function name. Special value ?*? represents all cloud
functions in the project.
Corresponds to the JSON property functionName
2886 2887 2888 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 2886 def function_name @function_name end |
#target_project ⇒ String
Required. Project ID of the project hosting the cloud function.
Corresponds to the JSON property targetProject
2891 2892 2893 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 2891 def target_project @target_project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2898 2899 2900 2901 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 2898 def update!(**args) @function_name = args[:function_name] if args.key?(:function_name) @target_project = args[:target_project] if args.key?(:target_project) end |