Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest

Returns a new instance of GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest.



482
483
484
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 482

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

Instance Attribute Details

#build_versionString

Optional. Ignored. Used to be build version of the app release if an instance identifier was provided for the release_id. Corresponds to the JSON property buildVersion

Returns:

  • (String)


461
462
463
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 461

def build_version
  @build_version
end

#display_versionString

Optional. Ignored. Used to be display version of the app release if an instance identifier was provided for the release_id. Corresponds to the JSON property displayVersion

Returns:

  • (String)


467
468
469
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 467

def display_version
  @display_version
end

#emailsArray<String>

Optional. An email address which should get access to this release, for example rebeccahe@google.com Corresponds to the JSON property emails

Returns:

  • (Array<String>)


473
474
475
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 473

def emails
  @emails
end

#group_idsArray<String>

Optional. A repeated list of group aliases to enable access to a release for Note: This field is misnamed, but can't be changed because we need to maintain compatibility with old build tools Corresponds to the JSON property groupIds

Returns:

  • (Array<String>)


480
481
482
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 480

def group_ids
  @group_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



487
488
489
490
491
492
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 487

def update!(**args)
  @build_version = args[:build_version] if args.key?(:build_version)
  @display_version = args[:display_version] if args.key?(:display_version)
  @emails = args[:emails] if args.key?(:emails)
  @group_ids = args[:group_ids] if args.key?(:group_ids)
end