Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeploymentAssociation
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeploymentAssociation
- 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
-
#gcp_project_id ⇒ String
GCP project id of the associated project.
-
#user_id ⇒ String
User id of the deployment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalDeploymentAssociation
constructor
A new instance of SasPortalDeploymentAssociation.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
GCP project id of the associated project.
Corresponds to the JSON property gcpProjectId
182 183 184 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 182 def gcp_project_id @gcp_project_id end |
#user_id ⇒ String
User id of the deployment.
Corresponds to the JSON property userId
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 |