class Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1Instance

Attributes

consumer_defined_name[RW]

consumer_defined_name is the name that is set by the consumer. On the other hand Name field represents system-assigned id of an instance so consumers are not necessarily aware of it. consumer_defined_name is used for notification/UI purposes for consumer to recognize their instances. Corresponds to the JSON property `consumerDefinedName` @return [String]

create_time[RW]

Output only. Timestamp when the resource was created. Corresponds to the JSON property `createTime` @return [String]

labels[RW]

Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user. Corresponds to the JSON property `labels` @return [Hash<String,String>]

maintenance_policy_names[RW]

Deprecated. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. Corresponds to the JSON property `maintenancePolicyNames` @return [Hash<String,String>]

maintenance_schedules[RW]

The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions. Corresponds to the JSON property `maintenanceSchedules` @return [Hash<String,Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]

maintenance_settings[RW]

Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance. Corresponds to the JSON property `maintenanceSettings` @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]

name[RW]

Unique name of the resource. It uses the form: `projects/`project_id| project_number`/locations/`location_id`/instances/`instance_id“ Note: Either project_id or project_number can be used, but keep it consistent with other APIs (e.g. RescheduleUpdate) Corresponds to the JSON property `name` @return [String]

producer_metadata[RW]

Output only. Custom string attributes used primarily to expose producer- specific information in monitoring dashboards. See go/get-instance-metadata. Corresponds to the JSON property `producerMetadata` @return [Hash<String,String>]

provisioned_resources[RW]

Output only. The list of data plane resources provisioned for this instance, e.

  1. compute VMs. See go/get-instance-metadata.

Corresponds to the JSON property `provisionedResources` @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]

slm_instance_template[RW]

Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions. Corresponds to the JSON property `slmInstanceTemplate` @return [String]

slo_metadata[RW]

SloMetadata contains resources required for proper SLO classification of the instance. Corresponds to the JSON property `sloMetadata` @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]

software_versions[RW]

Software versions that are used to deploy this instance. This can be mutated by rollout services. Corresponds to the JSON property `softwareVersions` @return [Hash<String,String>]

state[RW]

Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use). Corresponds to the JSON property `state` @return [String]

tenant_project_id[RW]

Output only. ID of the associated GCP tenant project. See go/get-instance- metadata. Corresponds to the JSON property `tenantProjectId` @return [String]

update_time[RW]

Output only. Timestamp when the resource was last modified. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/memcache_v1beta2/classes.rb, line 422
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/memcache_v1beta2/classes.rb, line 427
def update!(**args)
  @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
  @create_time = args[:create_time] if args.key?(:create_time)
  @labels = args[:labels] if args.key?(:labels)
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
  @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
  @name = args[:name] if args.key?(:name)
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
  @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
  @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
  @software_versions = args[:software_versions] if args.key?(:software_versions)
  @state = args[:state] if args.key?(:state)
  @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
  @update_time = args[:update_time] if args.key?(:update_time)
end