Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
Request for Creating Cloud Function rpc call.
Instance Attribute Summary collapse
-
#function_name ⇒ String
The function name of CF to be created Corresponds to the JSON property
functionName
. -
#function_region ⇒ String
The function region of CF to be created Corresponds to the JSON property
functionRegion
. -
#project_id ⇒ String
Indicates the id of the GCP project that the function will be created in.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest
constructor
A new instance of GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest
Returns a new instance of GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest.
7226 7227 7228 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7226 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function_name ⇒ String
The function name of CF to be created
Corresponds to the JSON property functionName
7214 7215 7216 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7214 def function_name @function_name end |
#function_region ⇒ String
The function region of CF to be created
Corresponds to the JSON property functionRegion
7219 7220 7221 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7219 def function_region @function_region end |
#project_id ⇒ String
Indicates the id of the GCP project that the function will be created in.
Corresponds to the JSON property projectId
7224 7225 7226 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7224 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7231 7232 7233 7234 7235 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7231 def update!(**args) @function_name = args[:function_name] if args.key?(:function_name) @function_region = args[:function_region] if args.key?(:function_region) @project_id = args[:project_id] if args.key?(:project_id) end |