Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeploymentAssociation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb

Overview

Association between a gcp project and a SAS user id.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalDeploymentAssociation

Returns a new instance of SasPortalDeploymentAssociation.



189
190
191
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 189

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcp_project_idString

GCP project id of the associated project. Corresponds to the JSON property gcpProjectId

Returns:

  • (String)


182
183
184
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 182

def gcp_project_id
  @gcp_project_id
end

#user_idString

User id of the deployment. Corresponds to the JSON property userId

Returns:

  • (String)


187
188
189
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 187

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



194
195
196
197
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 194

def update!(**args)
  @gcp_project_id = args[:gcp_project_id] if args.key?(:gcp_project_id)
  @user_id = args[:user_id] if args.key?(:user_id)
end