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.



210
211
212
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 210

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)


203
204
205
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 203

def gcp_project_id
  @gcp_project_id
end

#user_idString

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

Returns:

  • (String)


208
209
210
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 208

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



215
216
217
218
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 215

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