Class: Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::DeveloperRegistration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
Represents a developer registration owned by a Merchant account.
Instance Attribute Summary collapse
-
#gcp_ids ⇒ Array<String>
Output only.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeveloperRegistration
constructor
A new instance of DeveloperRegistration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeveloperRegistration
Returns a new instance of DeveloperRegistration.
1501 1502 1503 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1501 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcp_ids ⇒ Array<String>
Output only. The GCP ids attached to this developer registration
Corresponds to the JSON property gcpIds
1492 1493 1494 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1492 def gcp_ids @gcp_ids end |
#name ⇒ String
Identifier. The name (ID) of the developer registration. Generated upon
creation of a new DeveloperRegistration. The account represents the
merchant ID of the merchant that owns the registration.
Corresponds to the JSON property name
1499 1500 1501 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1499 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1506 1507 1508 1509 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1506 def update!(**args) @gcp_ids = args[:gcp_ids] if args.key?(:gcp_ids) @name = args[:name] if args.key?(:name) end |