Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#caller_ip ⇒ String
Corresponds to the JSON property
callerIp. -
#caller_ip_geo ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Geolocation
Corresponds to the JSON property
callerIpGeo. -
#method_name ⇒ String
Corresponds to the JSON property
methodName. -
#principal_email ⇒ String
Corresponds to the JSON property
principalEmail. -
#principal_subject ⇒ String
Corresponds to the JSON property
principalSubject. -
#service_account_delegation_info ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo>
Corresponds to the JSON property
serviceAccountDelegationInfo. -
#service_account_key_name ⇒ String
Corresponds to the JSON property
serviceAccountKeyName. -
#service_name ⇒ String
Corresponds to the JSON property
serviceName. -
#user_agent ⇒ String
Corresponds to the JSON property
userAgent. -
#user_agent_family ⇒ String
Corresponds to the JSON property
userAgentFamily. -
#user_name ⇒ String
Corresponds to the JSON property
userName.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Access
constructor
A new instance of GoogleCloudSecuritycenterV2Access.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Access
Returns a new instance of GoogleCloudSecuritycenterV2Access.
4364 4365 4366 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#caller_ip ⇒ String
Corresponds to the JSON property callerIp
4312 4313 4314 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4312 def caller_ip @caller_ip end |
#caller_ip_geo ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Geolocation
Corresponds to the JSON property callerIpGeo
4317 4318 4319 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4317 def caller_ip_geo @caller_ip_geo end |
#method_name ⇒ String
Corresponds to the JSON property methodName
4322 4323 4324 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4322 def method_name @method_name end |
#principal_email ⇒ String
Corresponds to the JSON property principalEmail
4327 4328 4329 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4327 def principal_email @principal_email end |
#principal_subject ⇒ String
Corresponds to the JSON property principalSubject
4332 4333 4334 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4332 def principal_subject @principal_subject end |
#service_account_delegation_info ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo>
Corresponds to the JSON property serviceAccountDelegationInfo
4337 4338 4339 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4337 def service_account_delegation_info @service_account_delegation_info end |
#service_account_key_name ⇒ String
Corresponds to the JSON property serviceAccountKeyName
4342 4343 4344 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4342 def service_account_key_name @service_account_key_name end |
#service_name ⇒ String
Corresponds to the JSON property serviceName
4347 4348 4349 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4347 def service_name @service_name end |
#user_agent ⇒ String
Corresponds to the JSON property userAgent
4352 4353 4354 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4352 def user_agent @user_agent end |
#user_agent_family ⇒ String
Corresponds to the JSON property userAgentFamily
4357 4358 4359 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4357 def user_agent_family @user_agent_family end |
#user_name ⇒ String
Corresponds to the JSON property userName
4362 4363 4364 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4362 def user_name @user_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4369 def update!(**args) @caller_ip = args[:caller_ip] if args.key?(:caller_ip) @caller_ip_geo = args[:caller_ip_geo] if args.key?(:caller_ip_geo) @method_name = args[:method_name] if args.key?(:method_name) @principal_email = args[:principal_email] if args.key?(:principal_email) @principal_subject = args[:principal_subject] if args.key?(:principal_subject) @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info) @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name) @service_name = args[:service_name] if args.key?(:service_name) @user_agent = args[:user_agent] if args.key?(:user_agent) @user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family) @user_name = args[:user_name] if args.key?(:user_name) end |