Class: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern

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

Overview

Service patterns used to allow access.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1ServicePattern

Returns a new instance of GoogleIdentityAccesscontextmanagerV1ServicePattern.



1972
1973
1974
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1972

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

Instance Attribute Details

#modifiersArray<Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1Modifier>

Modifiers to apply to the requests that match the URL pattern. Corresponds to the JSON property modifiers



1958
1959
1960
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1958

def modifiers
  @modifiers
end

#patternString

URL pattern to allow. Only patterns of ".googleapis.com/", "www.googleapis. com//" and ".appspot.com/ forms are supported, where should be alphanumerical name. Corresponds to the JSON property pattern

Returns:

  • (String)


1965
1966
1967
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1965

def pattern
  @pattern
end

#serviceString

Supported service to allow. Corresponds to the JSON property service

Returns:

  • (String)


1970
1971
1972
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1970

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1977
1978
1979
1980
1981
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1977

def update!(**args)
  @modifiers = args[:modifiers] if args.key?(:modifiers)
  @pattern = args[:pattern] if args.key?(:pattern)
  @service = args[:service] if args.key?(:service)
end