Class: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudasset_v1p1beta1/classes.rb,
lib/google/apis/cloudasset_v1p1beta1/representations.rb,
lib/google/apis/cloudasset_v1p1beta1/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.



1779
1780
1781
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1779

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

Instance Attribute Details

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

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



1765
1766
1767
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1765

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)


1772
1773
1774
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1772

def pattern
  @pattern
end

#serviceString

Supported service to allow. Corresponds to the JSON property service

Returns:

  • (String)


1777
1778
1779
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1777

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1784
1785
1786
1787
1788
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1784

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