Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

The function name of CF to be created Corresponds to the JSON property functionName

Returns:

  • (String)


7214
7215
7216
# File 'lib/google/apis/integrations_v1/classes.rb', line 7214

def function_name
  @function_name
end

#function_regionString

The function region of CF to be created Corresponds to the JSON property functionRegion

Returns:

  • (String)


7219
7220
7221
# File 'lib/google/apis/integrations_v1/classes.rb', line 7219

def function_region
  @function_region
end

#project_idString

Indicates the id of the GCP project that the function will be created in. Corresponds to the JSON property projectId

Returns:

  • (String)


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