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.
6261 6262 6263 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6261 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
6249 6250 6251 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6249 def function_name @function_name end |
#function_region ⇒ String
The function region of CF to be created
Corresponds to the JSON property functionRegion
6254 6255 6256 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6254 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
6259 6260 6261 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6259 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6266 6267 6268 6269 6270 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6266 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 |