Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicebroker_v1beta1/classes.rb,
generated/google/apis/servicebroker_v1beta1/representations.rb,
generated/google/apis/servicebroker_v1beta1/representations.rb
Overview
Message describing inputs to Provision and Update Service instance requests.
Instance Attribute Summary collapse
-
#context ⇒ Hash<String,Object>
Platform specific contextual information under which the service instance is to be provisioned.
-
#create_time ⇒ String
Output only.
-
#deployment_name ⇒ String
Output only.
-
#description ⇒ String
To return errors when GetInstance call is done via HTTP to be unified with other methods.
-
#instance_id ⇒ String
The id of the service instance.
-
#organization_guid ⇒ String
The platform GUID for the organization under which the service is to be provisioned.
-
#parameters ⇒ Hash<String,Object>
Configuration options for the service instance.
-
#plan_id ⇒ String
The ID of the plan.
-
#previous_values ⇒ Hash<String,Object>
Used only in UpdateServiceInstance request to optionally specify previous fields.
-
#resource_name ⇒ String
Output only.
-
#service_id ⇒ String
The id of the service.
-
#space_guid ⇒ String
The identifier for the project space within the platform organization.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1ServiceInstance
constructor
A new instance of GoogleCloudServicebrokerV1beta1ServiceInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1ServiceInstance
Returns a new instance of GoogleCloudServicebrokerV1beta1ServiceInstance
803 804 805 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 803 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ Hash<String,Object>
Platform specific contextual information under which the service instance
is to be provisioned. This replaces organization_guid and space_guid.
But can also contain anything.
Currently only used for logging context information.
Corresponds to the JSON property context
728 729 730 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 728 def context @context end |
#create_time ⇒ String
Output only.
Timestamp for when the instance was created.
Corresponds to the JSON property createTime
734 735 736 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 734 def create_time @create_time end |
#deployment_name ⇒ String
Output only.
String containing the Deployment Manager deployment name that was created
for this instance,
Corresponds to the JSON property deploymentName
741 742 743 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 741 def deployment_name @deployment_name end |
#description ⇒ String
To return errors when GetInstance call is done via HTTP to be unified with
other methods.
Corresponds to the JSON property description
747 748 749 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 747 def description @description end |
#instance_id ⇒ String
The id of the service instance. Must be unique within GCP project.
Maximum length is 64, GUID recommended.
Required.
Corresponds to the JSON property instance_id
754 755 756 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 754 def instance_id @instance_id end |
#organization_guid ⇒ String
The platform GUID for the organization under which the service is to be
provisioned.
Required.
Corresponds to the JSON property organization_guid
761 762 763 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 761 def organization_guid @organization_guid end |
#parameters ⇒ Hash<String,Object>
Configuration options for the service instance.
Parameters is JSON object serialized to string.
Corresponds to the JSON property parameters
767 768 769 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 767 def parameters @parameters end |
#plan_id ⇒ String
The ID of the plan. See Service
and Plan
resources for details.
Maximum length is 64, GUID recommended.
Required.
Corresponds to the JSON property plan_id
774 775 776 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 774 def plan_id @plan_id end |
#previous_values ⇒ Hash<String,Object>
Used only in UpdateServiceInstance request to optionally specify previous
fields.
Corresponds to the JSON property previous_values
780 781 782 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 780 def previous_values @previous_values end |
#resource_name ⇒ String
Output only.
The resource name of the instance, e.g.
projects/project_id/brokers/broker_id/service_instances/instance_id
Corresponds to the JSON property resourceName
787 788 789 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 787 def resource_name @resource_name end |
#service_id ⇒ String
The id of the service. Must be a valid identifier of a service
contained in the list from a ListServices()
call.
Maximum length is 64, GUID recommended.
Required.
Corresponds to the JSON property service_id
795 796 797 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 795 def service_id @service_id end |
#space_guid ⇒ String
The identifier for the project space within the platform organization.
Required.
Corresponds to the JSON property space_guid
801 802 803 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 801 def space_guid @space_guid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
808 809 810 811 812 813 814 815 816 817 818 819 820 821 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 808 def update!(**args) @context = args[:context] if args.key?(:context) @create_time = args[:create_time] if args.key?(:create_time) @deployment_name = args[:deployment_name] if args.key?(:deployment_name) @description = args[:description] if args.key?(:description) @instance_id = args[:instance_id] if args.key?(:instance_id) @organization_guid = args[:organization_guid] if args.key?(:organization_guid) @parameters = args[:parameters] if args.key?(:parameters) @plan_id = args[:plan_id] if args.key?(:plan_id) @previous_values = args[:previous_values] if args.key?(:previous_values) @resource_name = args[:resource_name] if args.key?(:resource_name) @service_id = args[:service_id] if args.key?(:service_id) @space_guid = args[:space_guid] if args.key?(:space_guid) end |